Skip to content

Instantly share code, notes, and snippets.

View The-LukeZ's full-sized avatar
💭
I may be slow to respond.

LukeZ The-LukeZ

💭
I may be slow to respond.
View GitHub Profile
@The-LukeZ
The-LukeZ / discord-markup-parser.ts
Last active August 24, 2025 20:38
Discord Markup Parser for better markdown parsing
/** MarkdownParser.ts
*
* Tokenization-first markdown -> HTML implementation
*
* Features:
* - Bold: **bold**
* - Italic: *italic* or _italic_
* - Underline: __underline__
* - Subtext: lines starting with "-# "
* - Strikethrough: ~~strike~~