in libs/markdown.js [19:28]
render: function (tokens, idx) {
const isAlert = tokens[idx].info.trim().match(/note alert$/);
if (tokens[idx].nesting === 1) {
const className = isAlert ? ' alert' : '';
return `<div class="note${className}">\n`;
} else {
// closing tag
return '</div>\n';
}
},