Re: Ways to write Pseudo Code in Asciidoc
Posted by
mojavelinux on
Jan 30, 2021; 9:50pm
URL: https://discuss.asciidoctor.org/Ways-to-write-Pseudo-Code-in-Asciidoc-tp8464p8478.html
You should almost never use just "quotes" alone for subs. If you want preformatted text, but still allow formatting and macros, then you should use
[subs=normal]
If you only need formatting (not macros), then you can use:
[subs="specialchars,quotes"]
Best Regards,
-Dan
On Sat, Jan 30, 2021 at 2:33 PM smitty4doc [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Thanks David,
This renders like this:
IF some condition::
Method and it's description::::
else::
Some other Method and it's description::::
EndIf
And it didn't bold the Method name and just removed the *'s.
Though you got me digging through the documentation with this clue and I did get it to work with this.
[subs="quotes"]
----
IF some condition
*Method* and it's _description_
else::
Some other *Method* and it's _description_
EndIf
----
thanks!!
--