Skip to content

Contribution to Myst-Parser: Links from elements in SVG diagrams to other images or document content #1139

Discussion options

You must be logged in to vote

The Sphinx extension sphinxcontrib-svg-links 0.1.5 is online on github and PyPI.

Testers, Comments and Criticism are warmly welcome.

There is still a minor problem with MystParser. Its current release 2.0.0 does NOT work with sphinxcontrib-svg-links since the new attribute ":svglinks: True" to the image directive is not correctly handled by MystParser. I tracked the error down to
parsers/directive.py:189

    if not isinstance(value, str):
        if value is True or value is None:
            value = None  # flag converter requires no argument

This effectively sets any attribute to None which was set to True in markdown, which cannot be correct.

This erroneous behavior is already fixed i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@volkerjaenisch
Comment options

@volkerjaenisch
Comment options

Answer selected by volkerjaenisch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants