Anyone have any suggestions on how to write Pseudo Code in Asciidoc?
I tried something like:
IF some condition::
*Method* and it's description::::
Some other *Method* and it's description::::
but this got ugly quick when the nesting started going deep and I needed deeper indentation (only 3 or 4 levels though).
I thought about using [source,pseudo], but this doesn't exist and it only helps in preserving indentation,
but I want to be able to bold some text in the pseudo code too.
This is not formal Pseudo code, I just want a good way to communicate some Logic to Business Analyst types that are not programmers and don't want to read code.
I ended up using Mermaid and creating a flowchart, but I would have preferred something simpler and am looking for ideas for ways I might incorporate nice looking Pseudo code into AsciiDoc.