Sha256: ab4a302b27e9dcbebf55abe13c4ebd0f76a50a49fc8d3d5f590d0a140a9cef2e

Contents?: true

Size: 243 Bytes

Versions: 42

Compression:

Stored size: 243 Bytes

Contents

Asciidoctor::Extensions.register do
  inline_macro do
    named :conum
    process do |parent, target, attrs|
      # TODO validate that this conum is valid
      Asciidoctor::Inline.new(parent, :callout, target.to_i).convert
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
j1-template-2021.0.16 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.15 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.14 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.13 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.12 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.11 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.10 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.9 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.8 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.7 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.6 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.5 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.4 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.3 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.2 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.1 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2021.0.0 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2020.0.25 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2020.0.24 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb
j1-template-2020.0.22 lib/starter_web/_plugins/asciidoctor-extensions/conum.rb