mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
md: add backtick support
This commit is contained in:
parent
fc320d3d45
commit
6b2a3be746
19
md.jsf
19
md.jsf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user