gin-gonic/website

Syntax Highlighting

dlaub3 opened this issue · 7 comments

It would be nice to use a theme with syntax highlighting. It makes reading code samples easier.

Should we fork the current theme? It appears the theme wasn't originally intended for code samples so I'm guessing they won't accept adding prism.js as a PR.

@thinkerou @dlaub3 or change to another theme which has code Syntax Highlighting. I like the style of Echo website:

guide___echo_-_high_performance__minimalist_go_web_framework

The left sidebar is very useful to search what I want.

It would also be nice to look for a theme with Algolia integration. I believe they have a free tier as long as you display the logo in the search results. I like doc sites that use it. It may be something to setup later.

hugo could use multi-themes, and hope page more clean more better.

We need two themes for a landing page and documentation.

Now have supported, please see #26