1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 12:54:23 +01:00
joe-syntax/md.jsf
2011-08-01 19:35:32 +02:00

36 lines
484 B
Plaintext

# JOE syntax highlight file for Markdown
# And yes, this *is* a joke :p
# bold parsing is not that perfect since this works: **bold__
=Idle
=Escape bold
=Bad bold red
=Bold bold
:idle Idle
* idle
"\\" escape recolor=-1
"*_" maybe_bold1
# do escaping of *_ and so on
:escape Escape
* idle
:maybe_bold1 Idle
* idle noeat
"*_" bold recolor=-2
:bold Bold
* bold
"*_" maybe_end_bold
:maybe_end_bold Bold
* bold
"*_" end_bold
:end_bold Bold
* idle noeat