How to use the refractor/core.register function in refractor

To help you get started, we’ve selected a few refractor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ifiokjr / remirror / @remirror / extension-code-block / src / code-block-extension.ts View on Github external
protected init() {
    for (const language of this.options.supportedLanguages) {
github conorhastings / react-syntax-highlighter / src / prism-light.js View on Github external
SyntaxHighlighter.registerLanguage = (_, language) =>


Lightweight, robust, elegant virtual syntax highlighting using Prism

Latest version published 1 year ago

Package Health Score

70 / 100
Full package analysis