0.1.0 • Published 4 years ago

@freedom-editor/hyperapp-code-block v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Freedom Editor Hyperapp Code Block

License Maintainability Known Vulnerabilities Codacy Badge

A code block built with Hyperapp for Freedom Editor.

Installation

npm i @freedom-editor/hyperapp-code-block

Usage

Import this block to the script where you config Freedom Editor. Create a new instance.

import { Code } from '@freedom-editor/hyperapp-code-block'

const codeBlock = new Code()

Register paragraph block in Freedom Editor instance

Register this block in options.registeredBlocks.

registeredBlocks: [
  codeBlock
]

API Reference

TODO

License

This project is licensed under the MIT License - see the license for more details.