mirror of
https://github.com/glassflame/glassflame.github.io.git
synced 2024-11-22 08:04:27 +00:00
Replace bull
with actual bullets
This commit is contained in:
parent
bcd51d2eb5
commit
0fc282c5e0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export class MarkdownElement extends CustomElement {
|
||||||
tokenizer: {
|
tokenizer: {
|
||||||
// Fix single, double, and triple equals on a single line being interpreted as headings
|
// Fix single, double, and triple equals on a single line being interpreted as headings
|
||||||
lheading(src) {
|
lheading(src) {
|
||||||
const cap = /^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(={4,}|-{4,}) *(?:\n+|$)/.exec(src);
|
const cap = /^(?![.+*] )((?:.|\n(?!\s*?\n|[.+*] ))+?)\n {0,3}(={4,}|-{4,}) *(?:\n+|$)/.exec(src);
|
||||||
if (cap) {
|
if (cap) {
|
||||||
return {
|
return {
|
||||||
type: 'heading',
|
type: 'heading',
|
||||||
|
|
Loading…
Reference in a new issue