Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pandoc Markdown SyntaxNew to Visual Studio Code? Get it now.
Pandoc Markdown Syntax

Pandoc Markdown Syntax

Garlic Bread Cleric

|
1,300 installs
| (0) | Free
Markdown syntax extended with Pandoc features (citations, fenced divs/spans, etc)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pandoc Markdown Syntax

VSCode Marketplace | Open VSX | GitHub

Standard VSCode Markdown syntax with some modifications to support Pandoc Markdown extensions:

  • Citations: @citationKey, @{citationKey}, [see @citationKey1 p. 42; citationKey2 p. 24]

  • Fenced divs:

    ::: {.float-right}
    ![figure 1](https://github.com/garlicbreadcleric/vscode-pandoc-markdown/raw/HEAD/figure1.png)
    :::
    
  • Fenced spans: [foo]{.mark}

Caveats

  • Instead of injecting into the builtin Markdown grammar, this extension overrides it completely (even though the grammar is still mostly the same as the one built into VSCode, with a few tweaks). The reason for this is that I also use these grammar definitions for parsing Markdown in Markane language server via vscode-textmate library, and vscode-textmate doesn't support language injections.

See also

  • Document Preview VSCode extension for previewing Markdown via Pandoc
  • Markane (language server and VSCode extension) for link completion, document templates, querying documents and more
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft