Discourse components

Wrapped HighlightJS grammars in Discourse theme components.

{{ printf "discourse Hello %s -> %s" $World .}}
{{- /*  printf "ONE second line */ -}}
<div class="help"/>
{{ range $k, $v := hugo.Generator $ $.Method -}}
{{ site.Language.Label }}
{{ hugo.Sites.Pages }}

You don’t have to be that colorful. Adding new wanted styles to your working styles will be a good choice. Have a look at the Discourse Example and Hugo examples to see how it could look like.

Download

Packages can be downloaded from: Releases1.

Usage

Discourse Requirements

The theme components are tested in virtual machines hosted on Windows 11 Professional

References:

Support

Feedback, issues2, and ideas are welcome

https://github.com/irkode/highlightjs-hugo/issues


  1. Draft- and pre-releases have to be manually browsed and downloaded. ↩︎

  2. component related issues only ↩︎