You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
All: Improve rendering of Mermaid graphs
This commit is contained in:
@@ -15,7 +15,7 @@ class MdToHtml_Mermaid {
|
||||
// Force a white background because the graphs can have various colours
|
||||
// that may not be compatible with the current theme. Also make it
|
||||
// inline-block so that the div is the same size as the content.
|
||||
return '.mermaid { background-color: white; display:inline-block; }';
|
||||
return '.mermaid { width: 100%; } .mermaid svg { background-color: white; }';
|
||||
}
|
||||
|
||||
injectedJavaScript() {
|
||||
|
||||
Reference in New Issue
Block a user