NeatUp Utils
Installation
- npm:
npm i @neatup/utils
- yarn:
yarn add @neatup/utils
Usage
index.ts
import { NeatUpTemplate, NeatUpTemplateBlock } from '@neatup/utils';
const template = NeatUpTemplate.fromMarkdown("# Title\n\ndescription")
// do some other work with the template
console.log(template.toMarkdown())
output
# Title
description