JSPM

@freedom-editor/lighterhtml-code-block

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20270F
  • License MIT

Code block built with Lighterhtml for Freedom Editor

Package Exports

  • @freedom-editor/lighterhtml-code-block

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@freedom-editor/lighterhtml-code-block) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Freedom Editor Lighterhtml Code Block

License Maintainability Known Vulnerabilities Codacy Badge

A code block built with Lighterhtml for Freedom Editor.

Installation

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

Usage

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

import { Code } from '@freedom-editor/lighterhtml-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.