-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
Bug description
GitHub flavored markdown uses callouts like this:
>[!TIP]
>Callout text
If you have one of these in a .md document and switch to the visual editor it changes it to:
> \[!T
> IP\] Callout text
Steps to reproduce
In RStudio or Positron, create a .md document, paste in:
>[!TIP]
>Callout text
Then switch to visual mode and back to source mode.
Actual behavior
No response
Expected behavior
I'm not sure exactly why it recognizes that spot as a line break, but if it's not a bug per se, it would be nice to have a way to exempt things like this from auto-formatting by the visual editor.
Your environment
- IDE: RStudio Version 2025.09.1+401 (2025.09.1+401)
- OS: macOS 15.6.1 (24G90)