use io;
use strings;
import"markdown.j"as markdown;
for (def n in [30, 40]) {
def md asstringinitstrings.replicate("*a ", $n) + "x" + strings.replicate(" a*", $n);
def html asstringinitmarkdown.toHtml($md);
io.printf("%d levels: %d <em>\n", $n, strings.count($html, "<em>"));
}