lib/asciidoctor/latex/inline_macros.rb in asciidoctor-latex-1.5.0.14.dev vs lib/asciidoctor/latex/inline_macros.rb in asciidoctor-latex-1.5.0.15.dev
- old
+ new
@@ -6,9 +6,10 @@
# Implements constructs like chem::[2H2O + O2 -> 2H2O]
# Maps this to \( \ce{2H2O + O2 -> 2H2O} \)
#
module Asciidoctor::LaTeX
+
class ChemInlineMacro < Asciidoctor::Extensions::InlineMacroProcessor
use_dsl
named :chem
def process parent, target, attributes
# text = attributes.values * ', ' # iky!