-
-
Save Nantris/0e91e927d13a052b8499a034978b0a41 to your computer and use it in GitHub Desktop.
Slate 47 highlight test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-use-before-define */ | |
// @flow | |
import Prism from 'prismjs'; | |
import { Point, Node, Text, Range, Editor } from 'slate'; | |
import Options, { OptionsFormat } from './options'; | |
import TOKEN_MARK from './TOKEN_MARK'; | |
require('prismjs/components/prism-javascript.min'); | |
console.log('test') | |
/* A Slate plugin to highlight code syntax */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment