Skip to content
Permalink
Browse files

Example output

  • Loading branch information...
Depado committed Oct 9, 2017
1 parent 67711da commit d64a2deacc709bf2dbd75fdfcd0064cc2a1ae51d
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
@@ -69,8 +69,20 @@ func main() {
}
```


Will output :

```html
<p>This is some sample code.</p>
<pre style="color:#f8f8f2;background-color:#272822"><span style="color:#66d9ef">func</span> <span style="color:#a6e22e">main</span>() {
<span style="color:#a6e22e">fmt</span>.<span style="color:#a6e22e">Println</span>(<span style="color:#e6db74">&#34;Hi&#34;</span>)
}
</pre>
```

## ToDo

- [ ] Add tests
- [ ] Add more flexibility (chroma capabilities)
- [ ] Add a function to set the theme
- [ ] Use directly `chroma.Style` in the structure

0 comments on commit d64a2de

Please sign in to comment.
You can’t perform that action at this time.