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.
Dostępne w Firefoksie na Androida™Dostępne w Firefoksie na Androida™
Zeskanuj kod QR, aby otworzyć to rozszerzenie w przeglądarce Firefox dla Androida
Metadane rozszerzenia
Zrzuty ekranu
O tym rozszerzeniu
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.
Ocenione na 0 przez 0 recenzentów
Uprawnienia i dane
Wymagane uprawnienia:
- Mieć dostęp do danych użytkownika na stronie „github.com”
- Mieć dostęp do danych użytkownika na stronie „gitlab.com”
Zbieranie danych:
- Autorzy tego rozszerzenia twierdzą, że nie wymaga ono zbierania danych.
Więcej informacji
- Odnośniki dodatku
- Wersja
- 0.1.0
- Rozmiar
- 194,23 KB
- Ostatnia aktualizacja
- 1 dzień temu (17 sie 2026)
- Powiązane kategorie
- Licencja
- Licencja MIT
- Historia wersji
- Dodaj do kolekcji