pnut-to-markdown
Converts the output of the pnut.io API (back) to Markdown. Intention is to make editing a users profile seamless.
Install
npm install pnut-to-markdown
Usage
You basically want to feed it the output of data.content.html after fetching a user object:
const pnutToMarkdown = ;const pnut = ;const user = await pnut; const converted = ;console;
License
MIT © Kai Wood