![]() theme in highlight argument for customizing the syntax highlighting style used by Pandoc. ![]() It is now possible to pass a custom theme file.Improved the highlighting mechanism in formats that supports highlight argument: Detailed explanation and examples have been added to the help page ?html_document. Style: symbol # use symbol style ("hash", "symbol", "icon") depth: 2 # max depth to apply anchor on (default to max which is 6)Ĭustomizing using a CSS rule is still possible. (thanks, #2304).Īnchor_sections can now be easily customized using style or depth element for anchor_sections. This method offers server-side rendering of all the equations, which means no JS processing is needed in the browser as with usual KaTeX or MathJaX methods. ![]() Set math_method = NULL to deactivate.Īdded support for katex R package as a math engine with math_method = "r-katex" in HTML documents. Previously, LaTeX equations were not rendered. Github_document() also gains the math_method argument set to "webtex" by default so that LaTeX equations can be rendered in the Github Markdown document as images. See ?rmarkdown::html_document() for details (thanks, #1940). Most HTML output format using html_document() or html_document_base() as based format should benefit from this new feature. See for supported options (dpi, background. A custom URL toward another CDN can be passed as url.įor math_method = "webtex", it will default to inset SVG using. Engine: mathjax url: math_method = "katex", KaTeX CDN will be inserted in version 0.15.2 by default (from jsdelivr).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |