Login  Register

Re: Ways to write Pseudo Code in Asciidoc

Posted by smitty4doc on Jan 30, 2021; 9:33pm
URL: https://discuss.asciidoctor.org/Ways-to-write-Pseudo-Code-in-Asciidoc-tp8464p8477.html

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!!