Skip to content

Correct syntax highlighting for inline LaTeX #367

Closed
@user202729

Description

@user202729

Pandoc has the feature

```{=latex}
code...
```

to embed LaTeX.

However currently it's not possible to highlight the code inside correctly

let g:pandoc#syntax#codeblocks#embeds#langs = [
			\ "latex=tex",
			\ "{=latex}=tex",  " <--- this does not work
			\ "python",
			\ ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions