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

markdown: end if we reach newline during bold

This commit is contained in:
cn 2014-03-01 16:50:49 +01:00
parent f522adf394
commit 7a2560c662

2
md.jsf
View File

@ -21,6 +21,7 @@
* idle * idle
"a-z0-9 /" tag "a-z0-9 /" tag
">" idle ">" idle
# do escaping of *_ and so on # do escaping of *_ and so on
:escape Escape :escape Escape
* idle * idle
@ -31,6 +32,7 @@
:bold Bold :bold Bold
* bold * bold
"\n" idle # end if we reach newline during bold
"*_" maybe_end_bold "*_" maybe_end_bold
:maybe_end_bold Bold :maybe_end_bold Bold