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

Replace MkDocs hook with the published plugin #58

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Replace MkDocs hook with the published plugin #58

merged 2 commits into from
Jun 27, 2023

Conversation

aabounegm
Copy link
Member

@aabounegm aabounegm commented Jun 26, 2023

The custom hook has been moved to a plugin hosted on PyPI called mkdocs-plugin-rzk, with the source code at aabounegm/mkdocs-plugin-rzk (I can transfer ownership if needed). Now it should be possible to easily use it in other projects that use Rzk with MkDocs.

Resolves #54

When hovering on the diagram, it could be hidden behind the snippet if big enough.
This brings it back on top
@@ -1,4 +1,6 @@
.rzk-render {
float: right;
clear: both;
position: relative;
z-index: 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to display SVGs over (not under) code blocks when zoomed in Material theme, if I understood correctly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly (but not just in the Material theme)

@fizruk fizruk merged commit 343186b into rzk-lang:develop Jun 27, 2023
@aabounegm aabounegm deleted the replace-svg-plugin branch June 27, 2023 11:46
@fizruk fizruk mentioned this pull request Jun 29, 2023
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.

Publish the MkDocs SVG rendering plugin as a PyPI package
2 participants