Skip to content

Releases: irkode/highlightjs-hugo

Release v0.0.6

26 Dec 14:42
v0.0.6
c35dd8e

Choose a tag to compare

Release v0.0.6 Pre-release
Pre-release

Things changed with release:

What's Changed

  • Add new plugin hugo-tpl:
    This plugin provides aliases for hugo-html and hugo-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 with html-text plugin, 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

23 Dec 08:38
v0.0.5

Choose a tag to compare

Release v0.0.5 Pre-release
Pre-release

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

22 Dec 15:06
v0.0.4
708e4e8

Choose a tag to compare

Release v0.0.4 Pre-release
Pre-release

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 modules

    hugen 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.yaml for 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

16 Dec 13:28
v0.0.3
26bedc0

Choose a tag to compare

Release v0.0.3 Pre-release
Pre-release

Code bug fixes in this release:

  • correctly handle multiple spaces between else and following if/when in 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

12 Dec 13:46
v0.0.2
5028550

Choose a tag to compare

Release v0.0.2 Pre-release
Pre-release

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

12 Dec 13:34
v0.0.1
c255a03

Choose a tag to compare

Release v0.0.1 Pre-release
Pre-release

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