Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker/hpp
HTML Pretty Print for Go (golang)
https://github.com/joker/hpp
formatter golang html pretty-print
Last synced: 11 days ago
JSON representation
HTML Pretty Print for Go (golang)
- Host: GitHub
- URL: https://github.com/joker/hpp
- Owner: Joker
- License: bsd-3-clause
- Created: 2018-04-11T13:27:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T12:29:30.000Z (about 4 years ago)
- Last Synced: 2024-06-20T14:30:04.757Z (5 months ago)
- Topics: formatter, golang, html, pretty-print
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTML Pretty Print for Go (golang)
Package hpp (github.com/Joker/hpp) is a HTML formatter for Go.example:
```html
Pugif (foo) {
bar(1 + 5)
}Pug - template engine
You are amazing
First name:
Last name:Pug is a terse and simple templating
language with a strong focus on
performance and powerful features.
```
becomes
```html
Pug
if (foo) {
bar(1 + 5)
}
Pug - template engine
You are amazing
First name:
Last name:
Pug is a terse and simple templating
language with a strong focus on
performance and powerful features.
```
### Installation
```sh
$ go get github.com/Joker/hpp
```