1234567891011121314151617181920 |
- Make flexible algorithm/pseudocode formatting! Find some good solution with a
- readable source form and highlighted formatted result. Could be to create some
- new format (based on a new ontology, of course), define conversion to at least
- HTML (markdown could work too, I guess) and make an ikiwiki plugin. Maybe
- writing in a general-enough subset of Python can work too. Also LaTeX has nice
- packages:
- [[!wikibooks LaTeX/Algorithms#Typesetting_using_the_algorithmicx_package]].
- - Also, if there's no better solution, I can just for now use markdown directly
- and make it look more or less like this:
- <http://users.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html>. But for this I need
- to use monospace font. If not possible with ikiwiki I can use HTML or even
- create an *algorithm* template which does that. Or... wait. Do code blocks not
- cause monospace already? It should be good enough. It lools just like the
- formatting gitweb does. Should work. Just indent the text so it becomes a
- Markdown code block.
- - Another option is to use just highlighting, either writing in a language like
- Python or by defining a new one for use with ikiwiki's highlight plugin:
- <http://www.andre-simon.de/doku/highlight/en/highlight.php#ch3>.
|