mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-27 03:11:36 +00:00
43 lines
819 B
Markdown
43 lines
819 B
Markdown
|
# godown
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/mattn/godown.png?branch=master)](https://travis-ci.org/mattn/godown)
|
||
|
[![Codecov](https://codecov.io/gh/mattn/godown/branch/master/graph/badge.svg)](https://codecov.io/gh/mattn/godown)
|
||
|
[![GoDoc](https://godoc.org/github.com/mattn/godown?status.svg)](http://godoc.org/github.com/mattn/godown)
|
||
|
[![Go Report Card](https://goreportcard.com/badge/github.com/mattn/godown)](https://goreportcard.com/report/github.com/mattn/godown)
|
||
|
|
||
|
Convert HTML into Markdown
|
||
|
|
||
|
This is work in progress.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```
|
||
|
err := godown.Convert(w, r)
|
||
|
checkError(err)
|
||
|
```
|
||
|
|
||
|
|
||
|
## Command Line
|
||
|
|
||
|
```
|
||
|
$ godown < index.html > index.md
|
||
|
```
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```
|
||
|
$ go get github.com/mattn/godown/cmd/godown
|
||
|
```
|
||
|
|
||
|
## TODO
|
||
|
|
||
|
* escape strings in HTML
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|
||
|
|
||
|
## Author
|
||
|
|
||
|
Yasuhiro Matsumoto (a.k.a. mattn)
|