Commit 97a4bb3
committed
fix: enable GFM extension for markdown rendering in proxy mode
When `filter_readme_scripts` is enabled, markdown files served through
the proxy are converted to HTML using goldmark. However, the default
goldmark converter does not include GFM (GitHub Flavored Markdown)
extensions, causing tables, strikethrough, and other GFM syntax to be
rendered as plain text instead of proper HTML elements.
This adds `extension.GFM` to the goldmark converter so that GFM tables,
strikethrough, autolinks, and task lists are correctly converted to HTML.1 parent 2f903c4 commit 97a4bb3
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
0 commit comments