Browse Source

md: add backtick support

joe-3.7
Todd Lewis 1 year ago
committed by cn
parent
commit
6b2a3be746
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      md.jsf

+ 19
- 0
md.jsf View File

@@ -1,4 +1,5 @@
# JOE syntax highlight file for Markdown
# by Christian Nicolai (http://mycrobase.de)

# And yes, this *is* a joke :p

@@ -33,6 +34,7 @@
"\\" escape recolor=-1
"*_" maybe_bold1
"[" maybe_link_desc1
"`" backtick buffer noeat

:headline_prefix Idle
* headline
@@ -132,3 +134,20 @@

:link_end 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…
Cancel
Save