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

Change SVG images in the document to be output as "text/html" #490

Merged
merged 1 commit into from
Jun 19, 2021

Conversation

kimikage
Copy link
Collaborator

@kimikage kimikage commented Jun 19, 2021

In Documenter.jl v0.27, SVG images ("image/svg+xml") are now embedded using the <img> tag.

For example:
Documenter v0.27: https://juliagraphics.github.io/Colors.jl/dev/constructionandconversion/#Available-colorspaces
Documenter v0.26: https://juliagraphics.github.io/Colors.jl/v0.12/constructionandconversion/#Available-colorspaces

This avoids the limitations of the <img> tag.
Note that the swatch display which is implemented in Colors.jl uses the <img> tag.

In Documenter.jl v0.27, SVG images ("image/svg+xml") are now embedded using the `<img>` tag.
This avoids the limitations of the `<img>` tag.
@codecov

This comment has been minimized.

@kimikage kimikage merged commit 500297c into JuliaGraphics:master Jun 19, 2021
@kimikage kimikage deleted the doc_svg_html branch June 19, 2021 08:50
kimikage added a commit to kimikage/Colors.jl that referenced this pull request May 30, 2024
…raphics#490)

In Documenter.jl v0.27, SVG images ("image/svg+xml") are now embedded using the `<img>` tag.
This avoids the limitations of the `<img>` tag.
kimikage added a commit that referenced this pull request May 30, 2024
…555)

In Documenter.jl v0.27, SVG images ("image/svg+xml") are now embedded using the `<img>` tag.
This avoids the limitations of the `<img>` tag.
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

Successfully merging this pull request may close these issues.

1 participant