From 7d303f2ced6a1e0c296267dce63981a702b22872 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 30 Mar 2021 10:44:42 +0900 Subject: [PATCH] fix: allow new line in code block --- src/parser.pegjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.pegjs b/src/parser.pegjs index d785ca9..148b3ef 100644 --- a/src/parser.pegjs +++ b/src/parser.pegjs @@ -102,7 +102,7 @@ codeBlock } codeBlockContent - = (!(LF "```" END) CHAR)+ + = (!(LF "```" END) .)+ { return text(); } // block: mathBlock