package
A CodeMirror theme inspired by the GitHub editor.
npm install codemirror-theme-githubGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A CodeMirror theme inspired by the GitHub editor.

npm install codemirror-theme-github --saveImport the CSS file into your application:
@import "codemirror-theme-github/theme/github";Tell CodeMirror to use it:
const editor = CodeMirror(document.body, {
mode: 'javascript',
lineNumbers: true,
theme: 'github',
});Estimated unpacked size across 1 packages.
3.7 kB
Includes dependencies.