You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
block.gfm.table=edit$1(block.gfm.table).replace('hr',block.hr).replace('heading',' {0,3}#{1,6} ').replace('lheading','([^\\n]+)\\n {0,3}(=+|-+) *(?:\\n+|$)').replace('blockquote',' {0,3}>').replace('code',' {4}[^\\n]').replace('fences',' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list',' {0,3}(?:[*+-]|1[.)]) ')// only lists starting from 1 can interrupt
411
-
.replace('html','</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag',block._tag)// pars can be interrupted by type (6) html blocks
413
+
block.gfm.nptable=edit$1(block.gfm.nptable).replace('hr',block.hr).replace('heading',' {0,3}#{1,6} ').replace('blockquote',' {0,3}>').replace('code',' {4}[^\\n]').replace('fences',' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list',' {0,3}(?:[*+-]|1[.)]) ')// only lists starting from 1 can interrupt
414
+
.replace('html','</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag',block._tag)// tables can be interrupted by type (6) html blocks
415
+
.getRegex();
416
+
block.gfm.table=edit$1(block.gfm.table).replace('hr',block.hr).replace('heading',' {0,3}#{1,6} ').replace('blockquote',' {0,3}>').replace('code',' {4}[^\\n]').replace('fences',' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list',' {0,3}(?:[*+-]|1[.)]) ')// only lists starting from 1 can interrupt
417
+
.replace('html','</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)').replace('tag',block._tag)// tables can be interrupted by type (6) html blocks
412
418
.getRegex();
413
419
/**
414
420
* Pedantic grammar (original John Gruber's loose markdown specification)
0 commit comments