]> git.giacomolli.uk - onechat/commit
Share the Markdown marks and block parser
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 02:26:46 +0000 (23:26 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 02:26:46 +0000 (23:26 -0300)
commit8fb85e5647f82e029956d81be29b3a5ac3490636
tree28004473400da289345d8c998257baf1163aa527
parent88581c0765be50dcabcc2913c38ae6786c426a3a
Share the Markdown marks and block parser

The inline and block parser supplies the same closed marks to each
renderer. Telegram keeps its existing text and entities while terminal
rendering can use the same rules for unclosed marks and code fences.
markdown.go [new file with mode: 0644]
telegram.go
telegram_markdown.go