Skip to content
Snippets Groups Projects
  • Christian Bäuerlein's avatar
    b2bbdb70
    Add configuration key to load a local version of mermaid (#1153) · b2bbdb70
    Christian Bäuerlein authored
    Hi there!
    
    Thank you for the great theme! I am a happy user and was delighted to see that mermaid support has landed.
    
    In some cases the usage of jsDelivr might not be possible for technical or compliance reasons.
    
    This commit adds a second way to include the mermaid lib by specifying a path in the mermaid config. This way a local version of the lib can be used.
    
    It should be fully backwards compatible, not requiring any action by users that already include the lib from the CDN.
    
    I already added some documentation, but I am also happy to extend this, if this change is generally well-received.
    
    Cheers,
    Christian
    Add configuration key to load a local version of mermaid (#1153)
    Christian Bäuerlein authored
    Hi there!
    
    Thank you for the great theme! I am a happy user and was delighted to see that mermaid support has landed.
    
    In some cases the usage of jsDelivr might not be possible for technical or compliance reasons.
    
    This commit adds a second way to include the mermaid lib by specifying a path in the mermaid config. This way a local version of the lib can be used.
    
    It should be fully backwards compatible, not requiring any action by users that already include the lib from the CDN.
    
    I already added some documentation, but I am also happy to extend this, if this change is generally well-received.
    
    Cheers,
    Christian