Asciidoc Chroma Syntax Highlighter

This repository contains a syntax highlighter for Asciidoc files using Chroma. It is designed to be used in Hugo static site generator to provide syntax highlighting for Asciidoc code blocks in the same way as Markdown.

Usage

To use the Asciidoc Chroma syntax highlighter, follow these steps:

  1. Install the Chroma CLI if you haven't already. You can find installation instructions in the Chroma repository.
  2. Install this gem by running:
    gem install asciidoctor-chroma
    
  3. Use the asciidoctor-chroma extension in your Hugo site configuration to enable syntax highlighting for Asciidoc files.
  4. Configure the chroma syntax highlighter in your Hugo configuration file as needed.

Release

To release a new version of the gem, follow these steps:

  1. Update the version number in asciidoctor-chroma.gemspec.
  2. Commit your changes and tag the new version in Git.
  3. Push the changes and tags to the remote repository.
  4. Build and push the gem to RubyGems.org using:
    gem build asciidoctor-chroma.gemspec
    gem push asciidoctor-chroma-<version>.gem