X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/deafb5766fcc2d0686020a98854df2239102986f..f8ec8cd60856d80084b82c59b4886ce485e64cf0:/test/syntax.vader?ds=sidebyside diff --git a/test/syntax.vader b/test/syntax.vader index 0b2c860..8b9b21a 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -155,6 +155,17 @@ code Execute (code blocks can have a language specifier): AssertEqual SyntaxOf('c'), 'mkdCode' +Given markdown; +```c++ +code +``` + +text + +Execute (code blocks can be fenced with backticks and a language specifier): + AssertEqual SyntaxOf('code'), 'mkdCode' + AssertNotEqual SyntaxOf('text'), 'mkdCode' + # Math Given markdown;