md: add backtick support

This commit is contained in:
Todd Lewis 2018-12-11 17:45:19 -05:00 committed by cn
parent fc320d3d45
commit 6b2a3be746
1 changed files with 19 additions and 0 deletions

19
md.jsf
View File

@ -1,4 +1,5 @@
# JOE syntax highlight file for Markdown # JOE syntax highlight file for Markdown
# by Christian Nicolai (http://mycrobase.de)
# And yes, this *is* a joke :p # And yes, this *is* a joke :p
@ -33,6 +34,7 @@
"\\" escape recolor=-1 "\\" escape recolor=-1
"*_" maybe_bold1 "*_" maybe_bold1
"[" maybe_link_desc1 "[" maybe_link_desc1
"`" backtick buffer noeat
:headline_prefix Idle :headline_prefix Idle
* headline * headline
@ -132,3 +134,20 @@
:link_end Idle :link_end Idle
* idle * idle
:backtick Quote
* backtick_body save_s noeat
"`" backtick
:backtick_body Code
* backtick_body
"`" backtick_end_maybe buffer
:backtick_end_maybe Code
* backtick_body strings
"&" backtick_end
done
"`" backtick_end_maybe
:backtick_end Quote
* idle noeat