Resources/markdown-viewer/ carries ~25MB of vendored third-party runtime JS (mermaid, vega, highlight.js, the Pierre/Shiki diff renderer with per-language grammars + WASM) plus the generated diff-viewer React app build. That now outweighs the Swift source, so GitHub Linguist reported the repo as mostly JavaScript. Mark the directory linguist-vendored (and the built app linguist-generated) so the language stats reflect the actual source. No runtime or build change. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
9 lines
476 B
Plaintext
9 lines
476 B
Plaintext
Resources/markdown-viewer/diff-viewer/**/*.mjs -whitespace
|
|
|
|
# Resources/markdown-viewer holds vendored third-party runtime bundles (mermaid,
|
|
# vega, highlight.js, the Pierre/Shiki diff renderer + per-language grammars and
|
|
# WASM) plus the generated diff-viewer React app build. They are not authored
|
|
# source, so exclude them from GitHub Linguist's language stats.
|
|
Resources/markdown-viewer/** linguist-vendored
|
|
Resources/markdown-viewer/diff-viewer-app/** linguist-generated
|