
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
@fsegurai/codemirror-theme-bundle
Advanced tools
A library of custom themes for CodeMirror 6.
@fsegurai/codemirror-theme-bundle
is a collection of themes to enhance CodeMirror 6 editor, making it visually engaging and adaptable to different coding styles and user preferences.
To add @fsegurai/codemirror-theme-bundle
along with CodeMirror 6 to your package.json
use the following commands.
npm install @fsegurai/codemirror-theme-bundle codemirror@^6.0.0 --save
Import the respective theme from the package and apply it to your CodeMirror instance as shown below.
import { EditorView, basicSetup } from 'codemirror'
import { markdown } from '@codemirror/lang-markdown'
import { bundle } from '@fsegurai/codemirror-theme-basic-bundle'
let editor = new EditorView({
doc: '# Hello World',
extensions: [
basicSetup,
markdown(),
bundle
],
parent: document.body
})
Read the CodeMirror documentation for more details about themes.
To see all themes in action, check out the demo: https://fsegurai.github.io/codemirror-themes.
To set up the demo locally:
git clone https://github.com/fsegurai/codemirror-themes.git
npm install
npm start
This will serve the application locally at http://[::1]:8000.
Licensed under MIT.
FAQs
Bundle themes for the CodeMirror code editor
We found that @fsegurai/codemirror-theme-bundle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.