1.0.7 • Published 7 years ago

htom v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
7 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

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago