Add R Markdown support (part deux)#93
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', ''))})engineattribute to parse the contents of the code-block{r }