Comark for GitHub & GitLab szerző: Sebastien Chopin
Renders Comark (Markdown components & attributes) syntax nicely on GitHub.Renders Comark (Markdown components & attributes) syntax nicely on GitHub.
Elérhető a Firefox for Android™-banElérhető a Firefox for Android™-ban
Olvassa le a QR-kódot, hogy megnyissa ezt a kiegészítőt a Firefox for Androidban
Kiegészítő metaadatai
Képernyőképek
A kiegészítő névjegye
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.
Értékelés 0 szerkesztő által: 0
Engedélyek és adatok
Szükséges engedélyek:
- Az adatai elérése itt: github.com
- Az adatai elérése itt: gitlab.com
Adatgyűjtés:
- A fejlesztő szerint ez a kiegészítő nem igényel adatgyűjtést.
További információk
- Kiegészítő hivatkozásai
- Verzió
- 0.1.0
- Méret
- 194,23 kB
- Legutóbb frissítve
- 18 órája (2026. aug. 17.)
- Kapcsolódó kategóriák
- Licenc
- MIT licenc
- Verziótörténet
- Gyűjteményhez adás