https://github.com/mattn/godown
Convert HTML into Markdown
https://github.com/mattn/godown
go golang html markdown
Last synced: about 1 year ago
JSON representation
Convert HTML into Markdown
- Host: GitHub
- URL: https://github.com/mattn/godown
- Owner: mattn
- License: mit
- Created: 2018-02-27T15:21:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T16:03:38.000Z (over 2 years ago)
- Last Synced: 2025-03-28T09:04:43.173Z (about 1 year ago)
- Topics: go, golang, html, markdown
- Language: Go
- Homepage:
- Size: 94.7 KB
- Stars: 123
- Watchers: 5
- Forks: 23
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - mattn/godown - 01 star:0.1k fork:0.0k Convert HTML into Markdown (Go)
README
# godown
[](https://travis-ci.org/mattn/godown)
[](https://codecov.io/gh/mattn/godown)
[](http://godoc.org/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)