Markdown Vim Mode
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
847 B

  1. # Fenced code living in an indented environment is correctly highlighted
  2. 1. run this command to do this:
  3. ```
  4. some command
  5. ```
  6. 2. Subsequent list items are correctly highlighted.
  7. Fenced code block with language:
  8. ```ruby
  9. def f
  10. 0
  11. end
  12. ```
  13. # Links
  14. [a](b "c")
  15. [a]()
  16. [good spell](a)
  17. [badd spell](a)
  18. [a](b "c")
  19. [a]( b
  20. "c" )
  21. a (`a`) b. Fix: <https://github.com/plasticboy/vim-markdown/issues/113>
  22. Escaped:
  23. \[a](b)
  24. [a\]b](c)
  25. ## Known failures
  26. Escape does not work:
  27. [a\](b)
  28. Should not be links because of whitespace:
  29. [a] (b)
  30. [a](a
  31. b)
  32. [a](a b)
  33. # Reference links
  34. Single links:
  35. [a][b]
  36. [good spell][a]
  37. [badd spell][a]
  38. [a][]
  39. [a] []
  40. [a][b] c [d][e]
  41. Reference link followed by inline link:
  42. [a] [b](c)
  43. ## Known failures
  44. Should be shortcut reference links:
  45. [a]
  46. [a] b [c]
  47. Should be a single link:
  48. [a] [b]
  49. [a] b [c](d)