Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/godown
Convert HTML into Markdown
https://github.com/mattn/godown
go golang html markdown
Last synced: about 21 hours 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T16:03:38.000Z (12 months ago)
- Last Synced: 2024-11-19T23:47:12.768Z (22 days ago)
- Topics: go, golang, html, markdown
- Language: Go
- Homepage:
- Size: 94.7 KB
- Stars: 123
- Watchers: 6
- Forks: 24
- 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
[![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)