Algorithms in Madoko

Jul 13, 2016 at 2:51 AM
Edited Jul 13, 2016 at 2:53 AM
Has anyone successfully used algorithmic package in Madoko
or something equivalent?
I have tried using an algorithm in a snippet environment, tried different options for compiling
but I was unsuccessful.

In case it helps, this is what part of my document look like:

~ Center {padding:1ex}
~~ Snippet
\caption{My algorithm}\label{euclid}
\State $i \gets \textit{len}$
Sep 23, 2016 at 12:21 AM
Try \begin{algorithm}[H]