tools/myna_markdown_to_html.js
function addTag(tag, ast, newLine) {
        lines.push(startTag(tag));
        if (ast instanceof Array)
            addArray(ast); 
        else
            mdAstToHtml(ast, lines);
        lines.push(endTag(tag));
        if (newLine)
            lines.push('\r\n');
        return lines;
    }
function addTag(tag, ast, newLine) {
        lines.push(startTag(tag));
        if (ast instanceof Array)
            addArray(ast); 
        else
            mdAstToHtml(ast, lines);
        lines.push(endTag(tag));
        if (newLine)
            lines.push('\r\n');
        return lines;
    }
function addTag ( tag , ast , newLine ) { lines . push ( startTag ( tag ) ) ; if ( ast instanceof Array ) addArray ( ast ) ; else mdAstToHtml ( ast , lines ) ; lines . push ( endTag ( tag ) ) ; if ( newLine ) lines . push ( '\r\n' ) ; return lines ; }
Adds tagged content
Adds tagged content