From cdb0a541554aa4a16fc71b6425225e8c603c83b8 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 2 Oct 2025 12:03:06 +0200 Subject: feat(markdown): support external link and image (without source) --- mardown/ast_modifier.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mardown/ast_modifier.go') diff --git a/mardown/ast_modifier.go b/mardown/ast_modifier.go index 13cd91d..bd04b28 100644 --- a/mardown/ast_modifier.go +++ b/mardown/ast_modifier.go @@ -117,6 +117,12 @@ func modifier(lxs *lexers) (*astModifier, error) { case lexerExternal: if lxs.Current().Value == "!" { s += lxs.Current().Value + } else { + ext, err := external(lxs) + if err != nil { + return nil, err + } + mod.content = append(mod.content, ext) } default: return nil, ErrInvalidTypeInModifier -- cgit v1.2.3