Skip to content

A CodeMirror theme inspired by the GitHub editor.

License

Notifications You must be signed in to change notification settings

cossssmin/codemirror-theme-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codemirror-theme-github

A CodeMirror theme inspired by the GitHub editor.

Preview

Preview

Installation

npm install codemirror-theme-github --save

Usage

  1. Import the CSS file into your application:

    @import "codemirror-theme-github/theme/github";
  2. Tell CodeMirror to use it:

    const editor = CodeMirror(document.body, {
      mode: 'javascript',
      lineNumbers: true,
      theme: 'github',
    });

About

A CodeMirror theme inspired by the GitHub editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages