1.0.7 • Published 6 years ago

htom v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

htom

convert html to markdown

  • list support
  • nested list support
  • task list support
  • table support
  • ...

usage

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

screenshot

html for convert:

html

output markdown:

markdown

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago