mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-19 08:16:42 +02:00
docs: Fix changelog
This commit is contained in:
@@ -26,7 +26,7 @@ element.innerHTML = svg;
|
|||||||
bindFunctions?.(element);
|
bindFunctions?.(element);
|
||||||
|
|
||||||
// >= v10 with promise.then
|
// >= v10 with promise.then
|
||||||
mermaid.render('graph TD;A-->B').then(({ svg, bindFunctions }) => {
|
mermaid.render('id', 'graph TD;A-->B').then(({ svg, bindFunctions }) => {
|
||||||
element.innerHTML = svg;
|
element.innerHTML = svg;
|
||||||
bindFunctions?.(element);
|
bindFunctions?.(element);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user