Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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
```