-
Notifications
You must be signed in to change notification settings - Fork 3
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
Mermaid-cli arguments option and flexible HTML detection #14
base: mermaid-cli
Are you sure you want to change the base?
Commits on Jul 8, 2024
-
Added option 'mermaid_args' to be able to specify
arguments sent to mermaid-cli. Also expanded mermaid HTML element detection. I used PyMdown Extension SuperFences for my Mermaid diagrams in MkDocs, so my HTML is still the old `<div class="mermaid">` blocks. Therefore, I used regex to detect any HTML block with the `mermaid` or `language-mermaid` class with at most one child HTML element.
Nathaniel Clark committedJul 8, 2024 Configuration menu - View commit details
-
Copy full SHA for 4ae05dc - Browse repository at this point
Copy the full SHA 4ae05dcView commit details -
Allow that
mermaid
may not be the only class assigned to the HTML e……lement
Nathaniel Clark committedJul 8, 2024 Configuration menu - View commit details
-
Copy full SHA for d4dd196 - Browse repository at this point
Copy the full SHA d4dd196View commit details
Commits on Jul 9, 2024
-
Added option to reduce visual scale of diagrams
mermaid_img_scale_reduction uses CSS height and width to scale down the visual size of rendered mermaid diagrams. This is a direct counter to puppeteer scale fed to mermaid-cli so that setting both to the same integer larger than 1 will result in a higher resolution diagram at the natural 'scale 1' visual size.
Nathaniel Clark committedJul 9, 2024 Configuration menu - View commit details
-
Copy full SHA for 8d77db0 - Browse repository at this point
Copy the full SHA 8d77db0View commit details -
Documenting mermaid arguments in readme
Nathaniel Clark committedJul 9, 2024 Configuration menu - View commit details
-
Copy full SHA for 5ad3170 - Browse repository at this point
Copy the full SHA 5ad3170View commit details
Commits on Jul 10, 2024
-
Adding Mermaid rendering to RelaxedJS
Nathaniel Clark committedJul 10, 2024 Configuration menu - View commit details
-
Copy full SHA for d91d96e - Browse repository at this point
Copy the full SHA d91d96eView commit details -
Restoring an import removed by accident
Nathaniel Clark committedJul 10, 2024 Configuration menu - View commit details
-
Copy full SHA for 3faa947 - Browse repository at this point
Copy the full SHA 3faa947View commit details -
Nathaniel Clark committed
Jul 10, 2024 Configuration menu - View commit details
-
Copy full SHA for d1b2296 - Browse repository at this point
Copy the full SHA d1b2296View commit details -
Changed height/width element CSS to use max-width/max-height for easi…
…er application of additional CSS rules like 'width=100%'.
Nathaniel Clark committedJul 10, 2024 Configuration menu - View commit details
-
Copy full SHA for ba01be7 - Browse repository at this point
Copy the full SHA ba01be7View commit details
Commits on Aug 6, 2024
-
Fix to fix_image_alignment failing to detect an image's style attribute.
Nathaniel Clark committedAug 6, 2024 Configuration menu - View commit details
-
Copy full SHA for 5d18daa - Browse repository at this point
Copy the full SHA 5d18daaView commit details -
Added a guard test to prevent fix_image_alignment from altering an im…
…age's style attribute if the image's attributes don't need to be fixed.
Nathaniel Clark committedAug 6, 2024 Configuration menu - View commit details
-
Copy full SHA for ea7771b - Browse repository at this point
Copy the full SHA ea7771bView commit details