0.0.22 • Published 8 years ago

htmldown v0.0.22

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

htmldown Build Status

Convert HTML to Markdown-format text

Install

$ npm install --save htmldown

Usage

const htmldown = require('htmldown')

htmldown('unicorns')

API

htmldown(input, options)

input

Type: string

HTML string

options

escapeTags

Type: Array

Add more tags to escape. eg: <span>foo</span> => foo

getLanguage

Type: Function

Define a function to tell it how to extract code block language from a className.

Development

# dev 
tooling watch -e example
# build 
tooling build -e example

License

MIT ©

0.0.22

8 years ago

0.0.21

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago