kirby-highlighter

🌐 Server-side syntax highlighting for the code block & KirbyText

MIT License

Downloads
1.1K
Stars
20
Committers
6

Bot releases are visible (Hide)

kirby-highlighter - v3.2.0 Latest Release

Published by github-actions[bot] 3 months ago

   🚨 Breaking Changes

  • Replace custom HTML5DOMDocument with Kirby's Dom class  -  by @johannschopplich (0e440)
    View changes on GitHub
kirby-highlighter - v3.1.0

Published by github-actions[bot] 8 months ago

   🚀 Features

    View changes on GitHub
kirby-highlighter - v3.0.4

Published by github-actions[bot] 9 months ago

   🐞 Bug Fixes

    View changes on GitHub
kirby-highlighter - v3.0.3

Published by github-actions[bot] over 1 year ago

No significant changes

    View changes on GitHub
kirby-highlighter - v3.0.2

Published by github-actions[bot] almost 2 years ago

   🐞 Bug Fixes

  • Code block rename config options  -  by @bogdancondorachi (fb469)
    View changes on GitHub
kirby-highlighter - v3.0.1

Published by github-actions[bot] almost 2 years ago

No significant changes

    View changes on GitHub
kirby-highlighter - v3.0.0

Published by github-actions[bot] almost 2 years ago

   🚨 Breaking Changes

  • Raise minimum required PHP version & update plugin options namespace  -  by @johannschopplich (f2e37)

   ℹ️ Migration Guide

Rename your config options from kirby-extended.<some-key> to johannschopplich.<some-key>. That's it!

    View changes on GitHub
kirby-highlighter - 2.1.0

Published by johannschopplich over 2 years ago

Notable Changes

  • chore: support PHP 8.0+

Contributors

@FabienYt

kirby-highlighter - 2.0.2

Published by johannschopplich almost 3 years ago

Notable Changes

  • chore: add version number to composer.json for Kirby 3.6
kirby-highlighter - 2.0.1

Published by johannschopplich about 3 years ago

Notable Changes

  • fix: highlighting with unknown language inside code block
kirby-highlighter - 2.0.0

Published by johannschopplich about 3 years ago

New Feature: Code Block Support

This plugin overwrites Kirby's internal code block. Thus, you won't have to change a thing.

Use the code block just like before, the output will be highlighted automatically:

fields:
  example:
    label: Paste code here
    type: blocks
    fieldsets:
      - code
kirby-highlighter - 1.4.1

Published by johannschopplich about 3 years ago

Notable Changes

  • test: fix failing tests
  • chore: upgrade dependencies
kirby-highlighter - 1.4.0

Published by johannschopplich over 3 years ago

Notable Changes

Thanks to @rawb1 for implementing both features.

kirby-highlighter - 1.3.1

Published by johannschopplich almost 4 years ago

This release upgrades its dependencies and cleans up some code lines.

kirby-highlighter - 1.3.0

Published by johannschopplich about 4 years ago

Breaking Changes

  • Prefix for options has been changed from kirby-extended.highlight to kirby-extended.highlighter (notie the er at the end)

Fixes

  • Options are now fully overwritable in your site-wide config.php
kirby-highlighter - 1.2.3

Published by johannschopplich about 4 years ago

This release just upgrades its dependencies and improves the code style a bit.

kirby-highlighter - 1.2.2

Published by johannschopplich about 4 years ago

Notable Changes

  • Prevent content from being rendered through PHP's DOMDocument if no pre elements have been found
kirby-highlighter - 1.2.1

Published by johannschopplich about 4 years ago

This release prettifies some code.

kirby-highlighter - 1.2.0 – Multi-Block Functionality

Published by johannschopplich about 4 years ago

Notable Changes

kirby-highlighter - 1.1.0 – Fix Encoding Issues

Published by johannschopplich about 4 years ago

Notable Changes

  • New vanilla HTML5DOMDocument class as a sane wrapper around PHP's complicated and somewhat broken DOMDocument class.
  • The change above fixes miscellaneous enconding and XML parser related issues occuring in Kirby instances. E.g.:
    • DOMDocument::loadHTML(): Tag figure invalid in Entity
  • Drop unused composer dependency leftovers from the initial release.