X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b41a604a71bfa1d3e832b67c211f7c356d530ee6..a0ef80e296de45f1a9ce5794bffb80fe79efc3ac:/test/syntax.vader?ds=inline diff --git a/test/syntax.vader b/test/syntax.vader index b06ddf0..c3dc02d 100644 --- a/test/syntax.vader +++ b/test/syntax.vader @@ -87,6 +87,24 @@ Given mkd; Execute (autolinks can be backslash escaped): AssertNotEqual SyntaxOf('<'), 'mkdDelimiter' +# Code Blocks + +Given mkd; +~~~ +code +~~~ + +Execute (code blocks can be fenced with tildes): + AssertEqual SyntaxOf('c'), 'mkdCode' + +Given mkd; +~~~ruby +code +~~~ + +Execute (code blocks can have a language specifier): + AssertEqual SyntaxOf('c'), 'mkdCode' + # Math Given mkd;