Releases: irkode/highlightjs-hugo
Release v0.0.6
Things changed with release:
What's Changed
- Add new plugin
hugo-tpl:
This plugin provides aliases forhugo-htmlandhugo-text. You may use this to have just one plugin loaded.
Both plugin use sublanguage xml which avoids two plugins duplicating the large keyword tables.
To not style the xml sublanguage withhtml-textplugin, use CSS to suppress the styling. Somthink as this will do:/* change these to match your 'standard' for non-highlighted code */ code.hugo-text span.language-xml { text-decoration: none; } code.hugo-text span.language-xml * { font-style: none; font-weight: normal; background: darkgray; color: #444; }
Bug fixes
- ci build gousekeeping
Additional changes
- bump hugoDocs to 13b22a1
- bump Hugo to 153.2
Full Changelog: v0.0.5...v0.0.6
Release v0.0.5
Things changed with release:
What's Changed
- fix(hugen): #2 handle template tags in html attribute strings by @irkode in #3
- fix(hugen): #2 adapt markup tests by @irkode in #4
This effectively forces XML as subLanguage without autodetection. as we only have one sublanguage this fits for now.
Full Changelog: v0.0.4...v0.0.5
Release v0.0.4
Things changed with release:
What's Changed
-
feat(hugen) use import of generated keywords instead of text replacements by @irkode in #1
this may be the first step to create a single keyword include when using the standard Highlight.JS build including both moduleshugen changed to:
- use OUTPUT definitons for JS and YAML files
- use page kind templates instead of partials
- use all template instead for pages we want to suppress
Bug fixes
- fail build on plugin building errors
- add tag name to release artifacts
Additional Changes
- generate a
keywords.yamlfor each plugin - bump Go to 1.25.5
- bump Hugo to 0.135.1
- add simple html test page based on CDN include of Highlight.js and downsized plugin
- rename scripts folder to build
Full Changelog: v0.0.3...v0.0.4
Release v0.0.3
Code bug fixes in this release:
- correctly handle multiple spaces between
elseand followingif/whenin template actions - fixed generation for plugin readme
- handle deleted files correctly when pushing to distribution folder
Additional changes:
- enhance build script usability and simplified
- support output of of hvm when executing
hugo version(local) - added main README.md added
- link expansion in README's corrected
Full Changelog: v0.0.2...v0.0.3
Release v0.0.2
This is a housekeeping release without functional changes to the plugins.
- automatic release draft creation for tags
- asset bundling
- fixes for local and ci build scripts
Full Changelog: v0.0.1...v0.0.2
Release v0.0.1
First working version providing
- hugo(!) based generation of highlight.js languages for hugo templates
- specialized plugins for discourse and highlight.js (smaller)
- build and release framework scripts
Full Changelog: https://github.com/irkode/highlightjs-hugo/commits/v0.0.1