diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-14 18:05:35 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-14 18:05:35 +0100 |
| commit | a65b9cb6b2c7dc7b48b8076d5e463776f1de0cf1 (patch) | |
| tree | 021a5d38fe1a6c9bd876114fd3b3f4a296737fbd /markdown/ast.go | |
| parent | 8edad5f9aee4625384485ad07180da751858839c (diff) | |
feat(markdown): custom replacer
Diffstat (limited to 'markdown/ast.go')
| -rw-r--r-- | markdown/ast.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast.go b/markdown/ast.go index f409ccb..b78104c 100644 --- a/markdown/ast.go +++ b/markdown/ast.go @@ -95,7 +95,7 @@ func getBlock(lxs *lexers, newLine bool) (block, *ParseError) { } else { b, err = code(lxs) } - case lexerLiteral, lexerModifier: + case lexerLiteral, lexerModifier, lexerReplace: b, err = paragraph(lxs, false) case lexerBreak: // do nothing default: |
