@tryghost/kg-parser-plugins

Plugins for parsing HTML back into Ghost Mobiledoc Cards

Usage no npm install needed!

<script type="module">
  import tryghostKgParserPlugins from 'https://cdn.skypack.dev/@tryghost/kg-parser-plugins';
</script>

README

Koenig Parser Plugins

Plugins for parsing HTML back into Ghost Mobiledoc Cards

Install

npm install @tryghost/kg-parser-plugins --save

or

yarn add @tryghost/kg-parser-plugins

Usage

Used as part of the Koenig editor. See also: html-to-mobiledoc

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.