markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

how to configure it to support rendering `\( a + b \)` as formula rather than plaintext?

Open redmouth opened this issue 1 year ago • 0 comments

how to configure it to support rendering \( a + b \) as formula rather than plaintext?

With following configuration

let g:mkdp_auto_start = 1
let g:mkdp_preview_options = {
\ 'mathjax': {
\   'inlineMath': [ ['$', '$'], ['\\(','\\)'] ],
\   'displayMath': [ ['\\[','\\]'] ],
\ }
\ }

\( a + b \) is not treated as math formula

redmouth avatar Jul 10 '24 03:07 redmouth