Comark for GitHub & GitLab 作者: Sebastien Chopin
Renders Comark (Markdown components & attributes) syntax nicely on GitHub.Renders Comark (Markdown components & attributes) syntax nicely on GitHub.
也可在 Firefox for Android™ 使用也可在 Firefox for Android™ 使用
掃描 QR Code,即可在 Firefox for Android 當中開啟此擴充套件
擴充套件後設資料
畫面擷圖
關於此擴充套件
A browser extension that fixes GitHub's rendering of Markdown files written with Comark syntax — components, attributes, spans and bindings.
GitHub's Markdown renderer does not understand the Comark extensions: block components leak as plain paragraphs or broken headings, attribute groups show up as stray braces, and mdc code fences stay unhighlighted. With this extension installed, those files become readable again.
On github.com, for READMEs and .md blob previews:
1. Detects Comark syntax. The extension fetches the raw Markdown source (from raw.githubusercontent.com) and scans it. Plain Markdown files are left untouched.
2. Re-renders the whole document with Comark. The raw source is parsed by the real Comark parser and rendered to HTML with @comark/html, replacing GitHub's lossy rendering.
3. Shows Comark syntax as highlighted code.
4. Highlights code fences with rangi using GitHub's own color palette — including mdc /comark fences, which GitHub leaves plain. On non-Comark pages, mdc fences are highlighted in place without touching anything else.
Everything follows GitHub's light, dark and auto color modes.
GitHub's Markdown renderer does not understand the Comark extensions: block components leak as plain paragraphs or broken headings, attribute groups show up as stray braces, and mdc code fences stay unhighlighted. With this extension installed, those files become readable again.
On github.com, for READMEs and .md blob previews:
1. Detects Comark syntax. The extension fetches the raw Markdown source (from raw.githubusercontent.com) and scans it. Plain Markdown files are left untouched.
2. Re-renders the whole document with Comark. The raw source is parsed by the real Comark parser and rendered to HTML with @comark/html, replacing GitHub's lossy rendering.
3. Shows Comark syntax as highlighted code.
4. Highlights code fences with rangi using GitHub's own color palette — including mdc /comark fences, which GitHub leaves plain. On non-Comark pages, mdc fences are highlighted in place without touching anything else.
Everything follows GitHub's light, dark and auto color modes.
由 1 位評論者給出 0 分
權限與資料
更多資訊