Something went wrong. Try again.
Fork of micro-editor/micro
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950filetype: markdown
detect: filename: "\\.(livemd|md|mkd|mkdn|markdown)$"
rules: # Tables (Github extension) - type: ".*[ :]\\|[ :].*"
# quotes - statement: "^>.*"
# Emphasis - type: "(^|[[:space:]])(_[^ ][^_]*_|\\*[^ ][^*]*\\*)"
# Strong emphasis - type: "(^|[[:space:]])(__[^ ][^_]*__|\\*\\*[^ ][^*]*\\*\\*)"
# strike-through - type: "(^|[[:space:]])~~[^ ][^~]*~~"
# horizontal rules - special: "^(---+|===+|___+|\\*\\*\\*+)\\s*$"
# headlines - special: "^#{1,6}.*"
# lists - identifier: "^[[:space:]]*[\\*+-] |^[[:space:]]*[0-9]+\\. "
# misc - preproc: "(\\(([CcRr]|[Tt][Mm])\\)|\\.{3}|(^|[[:space:]])\\-\\-($|[[:space:]]))"
# links - constant: "\\[[^]]+\\]" - constant: "\\[([^][]|\\[[^]]*\\])*\\]\\([^)]+\\)"
# images - underlined: "!\\[[^][]*\\](\\([^)]+\\)|\\[[^]]+\\])"
# urls - underlined: "https?://[^ )>]+"
- special: "^```$"
- special: start: "`" end: "`" rules: []