I am starting with AsciiDoctor and I want to output HTML. I tried to figure out how to create a custom class in divisions, searched google, manuals, etc. And could not find a solution. I want to just write something like this:
Type the word [userinput]#asciidoc# into the search bar.
What HTML generates
<span class="userinput">asciidoc</span>
but I want to have div tags instead of span. Is there a way to do this, or should I just use something like +++<div class="userinput">asciidoc</span>+++
?
source share