class Metanorma::Standoc::TermRefInlineMacro
Public Instance Methods
process(_parent, _target, attrs)
click to toggle source
# File lib/metanorma/standoc/macros_terms.rb, line 75 def process(_parent, _target, attrs) termref = attrs["termxref"] || attrs["name"] "<concept type='term'><termxref>#{attrs['name']}</termxref>"\ "<renderterm>#{termref}</renderterm><xrefrender/></concept>" end