diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-01 15:04:54 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-01 15:04:54 +0200 |
| commit | 511ad88f6bf7b0ec971df407469c494d9dcb139e (patch) | |
| tree | a654ebad83f1123c0ea23fe52f3f9d809bcbe56c /mardown/ast_paragraph.go | |
| parent | 02f1e42a7f83f041627eace65675c1d6cea7e8cc (diff) | |
feat(markdown): rewrite modifier parser to construct a better tree
Diffstat (limited to 'mardown/ast_paragraph.go')
| -rw-r--r-- | mardown/ast_paragraph.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mardown/ast_paragraph.go b/mardown/ast_paragraph.go index 1a78ced..3e8d027 100644 --- a/mardown/ast_paragraph.go +++ b/mardown/ast_paragraph.go @@ -69,6 +69,9 @@ func paragraph(lxs *lexers, oneLine bool) (*astParagraph, error) { //TODO: handle case lexerExternal: n = 0 + if lxs.Current().Value == "!" { + tree.content = append(tree.content, astLiteral(lxs.Current().Value)) + } //TODO: handle case lexerCode: n = 0 |
