Slate Code
A plugin for code blocks in SlateJS.
Install
yarn add @convertkit/slate-codeA plugin for handling code in the ConvertKit Editor
A plugin for code blocks in SlateJS.
yarn add @convertkit/slate-codeAll notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. Until packages are at 1.0.0, MINOR version changes may be breaking.
pre and code because Prism breaks them.
A better fix is coming soon.decreateListItemDepth no longer throws an error for non list nodes.pre and code instead of div by defaultrenderBlock, while maintaining renderNode support