Obsidian-Code-Styler icon indicating copy to clipboard operation
Obsidian-Code-Styler copied to clipboard

Feature Request: Recognize curly fenced languages

Open MichelNivard opened this issue 1 year ago • 3 comments

In RMarkdown, and quarto, its common for code fences to have curly brackets:

```{r}

instead of:

```r

Woudl it be posible to highlght those as if their r code?

MichelNivard avatar Nov 12 '24 11:11 MichelNivard

This should be included in the next release. Does it not currently work? (I'm doing a major refactor and this is explicitly built into the new code)

mayurankv avatar Jan 27 '25 13:01 mayurankv

It does not work with quarto and RMarkdown curly braces as of version 1.1.7. I would also greatly appreciate this addition which can make it easier to use quarto in obsidian.

horaciochacon avatar Jan 29 '25 23:01 horaciochacon

Ok thanks for the update! It will hopefully be released soon. It's a large refactor so it's taking some time but I'm actively working on it! The only issue with this is that the syntax highlighting still won't be supported since Obsidian doesn't recognise the languages properly. But after this refactor one of the things I'm considering is alternative syntax highlighting so this may still be possible in the future.

mayurankv avatar Jan 30 '25 03:01 mayurankv