Skip to content

Commit 675cbfb

Browse files
committed
runtime(doc): Update Markdown syntax, add missing configs
fixes: #14168 Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent fa63008 commit 675cbfb

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

runtime/doc/syntax.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Feb 06
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Mar 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2236,10 +2236,19 @@ MARKDOWN *ft-markdown-syntax*
22362236

22372237
If you have long regions there might be wrong highlighting. At the cost of
22382238
slowing down displaying, you can have the engine look further back to sync on
2239-
the start of a region, for example 500 lines: >
2239+
the start of a region, for example 500 lines (default is 50): >
22402240
22412241
:let g:markdown_minlines = 500
22422242
2243+
If you want to enable fenced code block syntax highlighting in your markdown
2244+
documents you can enable like this: >
2245+
2246+
:let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
2247+
2248+
To disable markdown syntax concealing add the following to your vimrc: >
2249+
2250+
:let g:markdown_syntax_conceal = 0
2251+
22432252
22442253
MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*
22452254

0 commit comments

Comments
 (0)