Algolia Fragmenter
Fragment transformer converts a Ghost post into an Algolia Object and breaks down large HTML strings into sensible fragments based on headings.
Install
npm install @tryghost/algolia-fragmenter --save
or
yarn add @tryghost/algolia-fragmenter
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
-
git clone
this repo &cd
into it as usual - 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-2023 Ghost Foundation - Released under the MIT license.