EditorStyles
Scaffold styles and variables for markdown, WordPress entry content, etc.
Demo
https://editorstyles.github.io/
Install
With npm:
$ npm install --save editorstyles
Or, download manually:
Import
Sass (example of GitHub):
;
Node-sass (example of GitHub):
-
If you’re using Eyeglass, skip to Step 2. Otherwise, you’ll need to add EditorStyles to your node-sass
includePaths
option.require("editorstyles").includePaths
is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project. -
Import EditorStyles into your Sass files:
;
CSS:
Usage
Add a editorstyle
class to the container of the markdown body or WordPress entry content.
This is an H1 This is a paragraph. This is a list item. This is a list item.
Copyright / License
Copyright © 2016 the contributors of the EditorStyles project under the MIT License.