1
0
Fork 0
mirror of synced 2024-12-27 00:53:20 -05:00
ultimate-vim/sources_non_forked/vim-markdown/test/syntax.md
2022-11-21 23:06:50 +08:00

846 B

Fenced code living in an indented environment is correctly highlighted

  1. run this command to do this:

some command ```

  1. Subsequent list items are correctly highlighted.

Fenced code block with language:

def f
  0
end

Links

a

a

good spell

badd spell

a

a

a (a) b. Fix: https://github.com/preservim/vim-markdown/issues/113

Escaped:

[a](b)

a]b

Known failures

Escape does not work:

[a](b)

Should not be links because of whitespace:

[a] (b)

[a](a b)

[a](a b)

Reference links

Single links:

[a][b]

[good spell][a]

[badd spell][a]

[a][]

[a] []

[a][b] c [d][e]

Reference link followed by inline link:

[a] b

Known failures

Should be shortcut reference links:

[a]

[a] b [c]

Should be a single link:

[a] [b]

[a] b c