asciidoctor-with-extensions: add 'text-hyphen' gem

Needed to control hyphenation in the PDF backend[1], or else:

  asciidoctor: WARNING: optional gem 'text-hyphen' is not available (reason: cannot load 'text/hyphen'). Functionality disabled.

[1] https://docs.asciidoctor.org/pdf-converter/latest/asciidoc-attributes/
This commit is contained in:
Bjørn Forsman
2026-01-06 20:05:41 +01:00
parent 77313b3184
commit 2da1afa6a8
3 changed files with 13 additions and 0 deletions
@@ -11,4 +11,5 @@ gem 'asciidoctor-revealjs'
gem 'coderay'
gem 'pygments.rb'
gem 'rouge'
gem 'text-hyphen'
gem 'tilt'
@@ -128,6 +128,7 @@ GEM
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
stringio (3.1.8)
text-hyphen (1.5.0)
thread_safe (0.3.6)
tilt (2.6.1)
time (0.4.1)
@@ -153,6 +154,7 @@ DEPENDENCIES
coderay
pygments.rb
rouge
text-hyphen
tilt
BUNDLED WITH
@@ -666,6 +666,16 @@
};
version = "3.1.8";
};
text-hyphen = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01js0wxz84cc5hzxgqbcqnsa0y6crhdi6plmgkzyfm55p0rlajn4";
type = "gem";
};
version = "1.5.0";
};
thread_safe = {
groups = [ "default" ];
platforms = [ ];