iamcco/markdown-preview.nvim

About the configuatio of katex

Open

#37 建立於 2019年3月23日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (246 fork)batch import
help wanted

倉庫指標

Star
 (5,538 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

It seems that katex not support equation environment, and the solution given here 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?

貢獻者指南