Comark for GitHub & GitLab Autor: Sebastien Chopin
Renders Comark (Markdown components & attributes) syntax nicely on GitHub.Renders Comark (Markdown components & attributes) syntax nicely on GitHub.
Dostupné pre Firefox pre Android™Dostupné pre Firefox pre Android™
Naskenujte QR kód a otvorte toto rozšírenie vo Firefoxe pre Android
Metadáta rozšírenia
Snímky obrazovky
O tomto rozšírení
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.
Hodnotené 0 od 0 recenzentov
Povolenia a údaje
Požadované oprávnenia:
- Pristupovať k údajom pre github.com
- Pristupovať k údajom pre gitlab.com
Zber údajov:
- Vývojár uvádza, že toto rozšírenie nevyžaduje zhromažďovanie údajov.
Ďalšie informácie
- Verzia
- 0.1.0
- Veľkosť
- 194,23 kB
- Posledná aktualizácia
- pred 18 hodinami (17. aug 2026)
- Príbuzné kategórie
- Licencia
- Licencia MIT
- História verzií
- Pridať do kolekcie