Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Mermaid invisible links #366

Open
dwelden opened this issue May 6, 2024 · 0 comments
Open

Add support for Mermaid invisible links #366

dwelden opened this issue May 6, 2024 · 0 comments

Comments

@dwelden
Copy link

dwelden commented May 6, 2024

Mermaid diagrams with invisible links result in displaying the markdown text instead of a diagram when attempting to export JPEG. The temporary HTML page that is generated does support the invisible links.

Code example that renders here correctly but fails on Export to JPEG:

%%{ 
    init: {
        'theme': 'base',
        'themeVariables': {
            'lineColor': '#646468',
            'fontFamily': "century gothic"
        }
    }
}%%
    flowchart LR
    classDef Domain fill:#193062,color:#FFF,stroke:#646468
    classDef Subdomain fill:#FAE073,color:#646468,stroke:#646468
    classDef Hub fill:#E9E9E9,color:#646468,stroke:#646468
        d(Domain):::Domain
        s(Subdomain):::Subdomain
        h[(Hub)]:::Hub
        d ~~~ s ~~~ h

Windows 10
VS Code 1.89.0
Markdown PDF 1.5.0
Mermaid Server https://cdn.jsdelivr.net/npm/mermaid@10.9.0/dist/mermaid.min.js (also fails with https://unpkg.com/browse/mermaid@10.9.0/dist/mermaid.min.js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant