oreillymedia / asciidoctor-htmlbook

Templates for the htmlbook backend for Asciidoctor
45 stars 15 forks source link

Adding support for double-paren indexterm macro. #102

Closed sandersk closed 8 years ago

sandersk commented 8 years ago

AsciiDoc allows you to designate body text to also be treated as a primary index term, allowing you to write shorthand markup like this:

((Ruby)) is my favorite programming language

Which is equivalent to this:

Ruby(("Ruby")) is my favorite programming language

This PR adds support for converting the shorthand markup in the first example above to proper HTMLBook output.