mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-01-31 01:39:08 +01:00
Change blockquote markdown to require a space
This commit is contained in:
parent
5c9ee1a988
commit
7a23fe10ed
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ const CodeBlockRule: BlockMDRule = {
|
|||
const BLOCKQUOTE_MD_1 = '>';
|
||||
const QUOTE_LINE_PREFIX = /^> */;
|
||||
const BLOCKQUOTE_TRAILING_NEWLINE = /\n$/;
|
||||
const BLOCKQUOTE_REG_1 = /(^>.*\n?)+/m;
|
||||
const BLOCKQUOTE_REG_1 = /(^>(?: .*\n?| *\n))+/m;
|
||||
const BlockQuoteRule: BlockMDRule = {
|
||||
match: (text) => text.match(BLOCKQUOTE_REG_1),
|
||||
html: (match, parseInline) => {
|
||||
|
|
Loading…
Reference in a new issue