
com.novocode.ornate.theme.pdf.app.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ornate_2.12 Show documentation
Show all versions of ornate_2.12 Show documentation
Ornate is a tool for building multi-page HTML sites from Markdown sources.
The newest version!
$(window).load(function() {
var triggersNeeded = 0;
if(typeof mermaidAPI !== 'undefined') {
mermaidAPI.initialize({
//logLevel: 1,
startOnLoad: false,
cloneCssStyles: false
});
$(".mermaid_src").each(function() {
var srcE = this;
var e = srcE.parentElement;
var insertSvg = function(svgCode, bindFunctions) {
//console.log("Rendered "+e.id);
e.innerHTML = svgCode;
bindFunctions(e);
};
//console.log("Rendering "+e.id);
mermaidAPI.render(e.id + "_svg", srcE.textContent, insertSvg, "#"+e.id);
});
window.doneTrigger();
}
});
$(window).bind("load", function() {
window.doneTrigger();
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy