mvdkwast / obsidian-copy-as-html

Obsidian plugin: copy document as HTML, including images
MIT License
48 stars 11 forks source link

mermaid subgraph #54

Closed letsgofoiling closed 6 months ago

letsgofoiling commented 8 months ago

The following code generates an image with a black background

```mermaid
flowchart LR
subgraph title
direction LR
    A(a)-->B(b) 
end


Is the subgraph option supported?
![mermaid-obsidian-subgraph](https://github.com/mvdkwast/obsidian-copy-as-html/assets/161025476/f0bd8b8d-1898-444d-93c3-f453cbd94c2e)

Olivier
mvdkwast commented 6 months ago

Hi @letsgofoiling, there seem to be missing css variables for the subgraphs. Will be fixed in the next version. Thank you for reporting !