Go to file
2023-11-23 10:48:08 +08:00
.github/workflows Fix GitHub release step 2023-11-08 11:37:50 +08:00
lib Convert to Nokogiri for HTML manipulation 2023-11-23 10:11:20 +08:00
spec Add spec tests for HTML5-modified converter 2023-11-23 10:48:08 +08:00
.gitignore Update .gitignore 2023-07-07 12:14:32 +08:00
.rspec Setup RSpec 2023-10-29 09:56:43 +08:00
.rubocop.yml Add Rubocop configuration 2023-11-07 19:19:40 +08:00
asciidoctor-foodogsquared-extensions.gemspec Update dependencies and generate proper gemset.nix 2023-11-17 22:01:24 +08:00
CHANGELOG.adoc Release v1.2.0 2023-11-08 11:31:37 +08:00
flake.lock Add forked bundix to the devshell 2023-11-17 22:02:56 +08:00
flake.nix Update flake and devshell 2023-11-17 22:11:13 +08:00
Gemfile Update Gemfile 2023-07-07 12:14:32 +08:00
Gemfile.lock Update dependencies and generate proper gemset.nix 2023-11-17 22:01:24 +08:00
gemset.nix Update dependencies and generate proper gemset.nix 2023-11-17 22:01:24 +08:00
LICENSE Add license file 2023-07-07 17:13:45 +08:00
Rakefile Add Rake tasks for cleaning and testing 2023-10-29 10:38:13 +08:00
README.adoc Add project README 2023-07-07 17:34:23 +08:00
shell.nix Update flake and devshell 2023-11-17 22:11:13 +08:00
treefmt.toml Configure treefmt 2023-07-07 12:14:33 +08:00

Table of Contents

A set of Asciidoctor extensions mainly for personal use of its author (foodogsquared). :)

Despite being v1.0.0, treat this as almost unstable because it is only aimed for its author. However, feel free to leave suggestions and improvements. Who knows, parts of the set might develop into a more presentable and stable extension of its own.

Prerequisites

The extension is required to be used with Ruby 3.0 and above. (At least until I can test and confirm it works on the previous versions.)

In order to use it, you have to install it first in your Ruby environment. It is available as a gem in RubyGems as asciidoctor-foodogsquared-extensions so you can add the following line in Gemfile.

gem 'asciidoctor-foodogsquared-extensions'

Somewhere in your Ruby codebase, you can just import it with the following line.

require 'asciidoctor-foodogsquared-extensions'

And bada-bing-bada-boom, you now have the Asciidoctor extensions. If installed in the environment, you can now use the extension with the following Asciidoctor command.

asciidoctor -r asciidoctor-foodogsquared-extensions ./document.adoc

For now, theres no documentation for the individual macros but you can look into the README files for each macro at ./lib/asciidoctor/.