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

Overloading CSS #811

Open
NtuFlorimond opened this issue Dec 13, 2024 · 0 comments
Open

Overloading CSS #811

NtuFlorimond opened this issue Dec 13, 2024 · 0 comments

Comments

@NtuFlorimond
Copy link

  • mmdc --input test-positive/flowchart1.mmd --cssFile test-positive/flowchart1.css -o docs/animated-flowchart.svg copies the content of test-positive/flowchart1.css at the end of animated-flowchart.svg
  • <style>...</style> is still present at the begining of animated-flowchart.svg
  • <line style="fill: none;" marker-end="url(#arrowhead)" stroke="none" stroke-width="2" class="messageLine0" [...] />

Are there ways

  • to avoid publishing attributes like style, stroke, stroke-width
  • integrate test-positive/flowchart1.css intead of <style>...</style> at the begining of the .svg file ?

Notes

  • I use CLI on windows
  • Rendering is
    • fine with Firefox,
    • bad in inkscape,
    • bad when published with fop
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