diff --git a/lib/isodoc/bipm/html_convert.rb b/lib/isodoc/bipm/html_convert.rb index 675ff28..85783c7 100644 --- a/lib/isodoc/bipm/html_convert.rb +++ b/lib/isodoc/bipm/html_convert.rb @@ -39,6 +39,20 @@ def ol_attrs(node) start: node["start"]), style: style, class: klass) end + def mathjax(open, close) + BIPM_MATHJAX.gsub("OPEN", open).gsub("CLOSE", close) + end + + BIPM_MATHJAX = <<~"MATHJAX".freeze + + + MATHJAX + include BaseConvert include Init end