Code blocks should contain the ending newline
See https://spec.commonmark.org/0.29/#example-1
This commit is contained in:
parent
0bb70e62b8
commit
beca8029f4
1 changed files with 2 additions and 2 deletions
4
smu.c
4
smu.c
|
@ -42,8 +42,8 @@ static Parser parsers[] = { dounderline, docomment, dolineprefix,
|
||||||
static int nohtml = 0;
|
static int nohtml = 0;
|
||||||
|
|
||||||
static Tag lineprefix[] = {
|
static Tag lineprefix[] = {
|
||||||
{ " ", 0, "<pre><code>", "</code></pre>" },
|
{ " ", 0, "<pre><code>", "\n</code></pre>" },
|
||||||
{ "\t", 0, "<pre><code>", "</code></pre>" },
|
{ "\t", 0, "<pre><code>", "\n</code></pre>" },
|
||||||
{ "> ", 2, "<blockquote>", "</blockquote>" },
|
{ "> ", 2, "<blockquote>", "</blockquote>" },
|
||||||
{ "###### ", 1, "<h6>", "</h6>" },
|
{ "###### ", 1, "<h6>", "</h6>" },
|
||||||
{ "##### ", 1, "<h5>", "</h5>" },
|
{ "##### ", 1, "<h5>", "</h5>" },
|
||||||
|
|
Loading…
Add table
Reference in a new issue