Skip to content

feature: support pandoc-like languages spec codeblocks #194

@Martin1887

Description

@Martin1887

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

Currently, LaTeX blocks are highlighted they are in this form:

```latex
```

However, they are not highlighted when the Pandoc literal syntax is used ({=latex}):

```{=latex}
```

I think that detecting the language when it is enclosed inside ={} would be useful and not difficult to implement.

Thanks!

Describe the solution you'd like

Detecting the language of the codeblock when it is enclosed inside ={}.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions