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

42 lines
564 B
Plaintext
Raw Normal View History

# JOE syntax highlight file for Markdown
# And yes, this *is* a joke :p
# bold parsing is not that perfect since this works: **bold__
=Idle
2012-07-09 15:53:52 +02:00
=Tag fg_030
2011-08-01 19:01:46 +02:00
=Escape bold
2011-08-01 19:35:32 +02:00
=Bad bold red
=Bold bold
:idle Idle
* idle
2012-07-09 15:53:52 +02:00
"<" tag recolor=-1
2011-08-01 19:35:32 +02:00
"\\" escape recolor=-1
"*_" maybe_bold1
2012-07-09 15:53:52 +02:00
:tag Tag
* idle
"a-z0-9 /" tag
">" idle
2011-08-01 19:35:32 +02:00
# do escaping of *_ and so on
:escape Escape
* idle
:maybe_bold1 Idle
2011-08-01 11:21:59 +02:00
* idle noeat
"*_" bold recolor=-2
:bold Bold
* bold
"*_" maybe_end_bold
:maybe_end_bold Bold
* bold
"*_" end_bold
:end_bold Bold
2011-08-01 11:21:59 +02:00
* idle noeat