iamcco / iamcco/markdown-preview.nvim

About the configuatio of katex

Open
#37 5 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

It seems that katex not support equation environment, and the solution given [here](https://github.com/KaTeX/KaTeX/issues/445#issuecomment-406404563) not work for markdown-preview when I set it as:
```
let g:mkdp_preview_options = {
\ 'katex': {
\ delimiters: [
\ {left: "$$", right: "$$", display: true},
\ {left: "\\(", right: "\\)", display: false},
\ {left: "\\[", right: "\\]", display: true},
\ {left: "\\begin{equation}", right: "\\end{equation}", display: true}
\ ]
}
```
I guess the only option support is given in the doc of katex: https://katex.org/docs/options.html. But did there any way to use the `delimiters` as an option?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.