changeset 34524:caf019e67e93

runtime(doc): Update Markdown syntax, add missing configs Commit: https://github.com/vim/vim/commit/675cbfb47f03c65b2a5c245b632bdd7a0bf10e4f Author: Christian Brabandt <cb@256bit.org> Date: Sun Mar 10 19:32:55 2024 +0100 runtime(doc): Update Markdown syntax, add missing configs fixes: https://github.com/vim/vim/issues/14168 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Mar 2024 19:45:03 +0100
parents 28465f94adbf
children 4c1ae10c4cc9
files runtime/doc/syntax.txt
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt*	For Vim version 9.1.  Last change: 2024 Feb 06
+*syntax.txt*	For Vim version 9.1.  Last change: 2024 Mar 10
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -2236,10 +2236,19 @@ MARKDOWN						*ft-markdown-syntax*
 
 If you have long regions there might be wrong highlighting.  At the cost of
 slowing down displaying, you can have the engine look further back to sync on
-the start of a region, for example 500 lines: >
+the start of a region, for example 500 lines (default is 50): >
 
 	:let g:markdown_minlines = 500
 
+If you want to enable fenced code block syntax highlighting in your markdown
+documents you can enable like this: >
+
+	:let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
+
+To disable markdown syntax concealing add the following to your vimrc: >
+
+	:let g:markdown_syntax_conceal = 0
+
 
 MATHEMATICA		*mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*