blob: a94f4157f881a23fef7956e1947bca01e7a6488b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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)
|