The project is in a healthy, maintained state
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

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