# Handcraft Algorithm Environment in Kramdown

I love $\LaTeX$. The typesetting in $\LaTeX$ is so beautiful that that no other typesetting system can compete with. Unfortunately, I cannot write $\LaTeX$ for blog post. I have to use kramdown or other wiki/markup languages, because $\LaTeX$ doesn’t perform well in HTML output. However, I missed some features in $\LaTeX$. One of those is Algorithm and Pseudocode packages. So, I discovered some tricks to form algorithm-like typesettings.

1. Use \begin{align} to align the lines.
2. Use \mbox{text...} to put descriptions in.
3. Use \quad and \qquad to make indentions.

Here is the example input:

and Voilà!