A Vencord plugin that extends Discord's markdown rendering with GFM features the native parser doesn't handle.
| Feature | Syntax | Notes |
|---|---|---|
| Tables | | A | B ||---|---|| 1 | 2 | |
Full GFM spec — headers, separators, alignment |
| Column alignment | | :--- | :---: | ---: | |
Left, center, right |
| Escaped pipes | | a | b | c | |
| in table cells without breaking the column |
| Task lists | - [ ] todo- [x] done |
Styled checkboxes, backtick-aware |
| Horizontal rules | --- / *** / ___ |
Themed HR element |
Two things happen when a message with supported markdown syntax arrives:
- Flux interception — Listens for message events and installs a reactive getter. The getter re-evaluates on every read, so edits, old messages on scroll, and channel switches all just work.
- Parser wrapper — Wraps Discord's markdown parser so rendered elements also show up in MessageLogger edit history and anywhere else
Parser.parseis called.
Theme-aware out of the box — uses Discord's CSS variables to match light and dark mode.
You need Vencord from source:
git clone https://github.com/Vendicated/Vencord
cd Vencord
pnpm install
pnpm injectThen clone this repo into userplugins:
cd Vencord/src/userplugins
git clone https://github.com/pnivek/BetterMarkdown BetterMarkdown
cd ../..
pnpm buildCtrl+R in Discord to reload.
pnpm build --watch # auto-rebuilds on save
# Ctrl+R to see changesDebug logs use Vencord's @utils/Logger — prefixed with [BetterMarkdown].
GNU General Public License v3.0