0.2.18 • Published 21 days ago

@tryghost/mg-clean-html v0.2.18

Weekly downloads
-
License
MIT
Repository
github
Last release
21 days ago

Clean HTML

An opinionated set of cleaning steps, taking HTML full of inline styles and badly structured content and converting it into something cleaner.

This is intended to run after platform -specific HTML changes have been made

Install

To use this package in your own project:

npm install @tryghost/mg-clean-html --save

or

yarn add @tryghost/mg-clean-html

Usage

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

To run a local development copy, cd into this directory, and use yarn dev instead of migrate like so:

yarn dev curate --pathToZip /path/to/export.zip

Test

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

Copyright & License

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

0.2.18

21 days ago

0.2.17

2 months ago

0.2.16

4 months ago

0.2.15

5 months ago

0.2.14

5 months ago

0.2.13

7 months ago

0.2.12

7 months ago

0.2.11

7 months ago

0.2.10

9 months ago

0.2.9

9 months ago

0.2.8

10 months ago

0.2.7

11 months ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago