convert html to markdown
- list support
- nested list support
- task list support
- table support
- ...
install
yarn add htom
# or
npm install htom
usage
const htom = require('htom').default;
htom('<h1> test html </h1>').then(markdown => console.log(markdown));
build & test
git clone https://github.com/iamcco/htom.git
cd htom
npm install
# build
npm run build
#test
npm run test
html for convert:
output markdown: