Variable: markdown-ts-fontify-code-blocks-natively
markdown-ts-fontify-code-blocks-natively is a customizable variable
defined in markdown-ts-mode.el.gz.
Value
t
Documentation
Non-nil means fontify code block contents using the language's mode.
When non-nil, fenced code blocks are highlighted with syntax of the
embedded language (via tree-sitter for languages with a tree-sitter
mode, or via conventional font-lock for the rest). When nil, code
blocks keep only the markdown-ts-code-block background face. Toggling
for the ts-embedded path takes effect after restarting
markdown-ts-mode in the buffer.
This variable was added, or its default value changed, in unknown version unknown.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defcustom markdown-ts-fontify-code-blocks-natively t
"Non-nil means fontify code block contents using the language's mode.
When non-nil, fenced code blocks are highlighted with syntax of the
embedded language (via tree-sitter for languages with a tree-sitter
mode, or via conventional font-lock for the rest). When nil, code
blocks keep only the `markdown-ts-code-block' background face. Toggling
for the ts-embedded path takes effect after restarting
`markdown-ts-mode' in the buffer."
:type 'boolean
:version "31.1"
:package-version "1.0")