tools/myna_markdown_to_html.js
function startTag(tag, attr) {
    let attrStr = "";
    if (attr) {
        attrStr = " " + Object.keys(attr).map(function(k) { 
            return k + ' = "' + attr[k] + '"';
        }).join(" ");
    }
    return "<" + tag + attrStr + ">";
}
function startTag(tag, attr) {
    let attrStr = "";
    if (attr) {
        attrStr = " " + Object.keys(attr).map(function(k) { 
            return k + ' = "' + attr[k] + '"';
        }).join(" ");
    }
    return "<" + tag + attrStr + ">";
}
function startTag ( tag , attr ) { let attrStr = "" ; if ( attr ) { attrStr = " " + Object . keys ( attr ) . map ( function ( k ) { return k + ' = "' + attr [ k ] + '"' ; } ) . join ( " " ) ; } return "<" + tag + attrStr + ">" ; }
Returns the HTML for a start tag
Returns the HTML for a start tag