function changeRenderMermaidColor() {
    if (loadMermaid) {
        $('#mermaidBtn').css('color', 'green');
    } else {
        $('#mermaidBtn').css('color', 'red');
    }
}
/**
 * Set color of #mermaitBtn by loadMermaid value.
 */
Set color of #mermaitBtn by loadMermaid value.
Set color of #mermaitBtn by loadMermaid value .
function changeRenderMermaidColor() {
    if (loadMermaid) {
        $('#mermaidBtn').css('color', 'green');
    } else {
        $('#mermaidBtn').css('color', 'red');
    }
}
function changeRenderMermaidColor ( ) { if ( loadMermaid ) { $ ( '#mermaidBtn' ) . css ( 'color' , 'green' ) ; } else { $ ( '#mermaidBtn' ) . css ( 'color' , 'red' ) ; } }
Set color of #mermaitBtn by loadMermaid value.
Set color of #mermaitBtn by loadMermaid value .