From 511ad88f6bf7b0ec971df407469c494d9dcb139e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Wed, 1 Oct 2025 15:04:54 +0200 Subject: feat(markdown): rewrite modifier parser to construct a better tree --- mardown/ast_paragraph.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mardown/ast_paragraph.go') 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 -- cgit v1.2.3