You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Canonical R markdown issue with back ticks and itatics #13096
RStudio Edition : Desktop
RStudio Version : 2023.03+386
OS Version : Windows 10
R Version : 4.2.3
.Rproj options: MarkdownCanonical: Yes
Steps to reproduce the problem
Set in project / global options Write Canonical Visual mode markdown in source mode. (set all options to avoid having diffs when switching between visual and source mode
Create a new .Rmd file.
Add a line with italics and bold, for example, and back quotes after the italic word (spaced)
Save the document.
I would expect to keep the space between the * and the ` after saving in source mode. And the visual editor and source editor behaviour to be the same.
It doesn't happen, when I save it in the visual mode. However, when I toggle back to source mode, the issue persists.
@olivroy Thank you for raising this! I can also reproduce this in RStudio Desktop 2023.05.0-daily+331 on MacOS 13.4. We'll review this as we continue development of RStudio and the visual editor.
unstale! Some improvements could still be made to make sure the visual editor doesn't do anything unexpected to our documents to be able to use the visual editor in confidence in more situations!
Activity
[-]Canonical R markdown issue with reformatting[/-][+]Canonical R markdown issue with back ticks and itatics[/+]ronblum commentedon May 8, 2023
@olivroy Thank you for raising this! I can also reproduce this in RStudio Desktop 2023.05.0-daily+331 on MacOS 13.4. We'll review this as we continue development of RStudio and the visual editor.
github-actions commentedon Nov 5, 2023
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
olivroy commentedon Nov 10, 2023
I think this is worth looking at. (Still an issue in 2023.12.0+274 on macOS + Windows. Related to #13194
github-actions commentedon Jun 13, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
olivroy commentedon Jun 13, 2024
unstale! Some improvements could still be made to make sure the visual editor doesn't do anything unexpected to our documents to be able to use the visual editor in confidence in more situations!
github-actions commentedon Dec 13, 2024
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
salim-b commentedon Dec 13, 2024
This bug is still present in RStudio 2024.09.1+394 and is only one of many issues with RStudio's Markdown canonicalization.