-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add R Markdown support (part deux) #93
base: dev
Are you sure you want to change the base?
Conversation
I can't tell for sure from your minimap screenshots, but my first impression is (because that has been the case more often) that the fenced-code-block doesn't close properly until it finds a next |
Yeah, that's what I meant. In your second example it detects the start of the code-block on line 10, but it doesn't detect the closing element until line 18. Let me know if you figure it out, and feel free to PR any changes into this |
#139 fix it |
The trailing space is trivial to fix. With the current compiled grammar, i.e. for js: language-markdown/grammars/language-markdown.json Line 3106 in de31dac
The regex includes the group
fixes the trailing space problem. |
|
- mentioned in burodepeper#93, burodepeper#139
{r code=capture.output(dump('fivenum', ''))}
)engine
attribute to parse the contents of the code-block{r }