-
Notifications
You must be signed in to change notification settings - Fork 888
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
Markmap diagrams: various improvements #1365
base: main
Are you sure you want to change the base?
Conversation
8c9342d
to
b13460d
Compare
b13460d
to
ec06b66
Compare
ec06b66
to
8e60df8
Compare
14cbd94
to
3cffd89
Compare
3cffd89
to
e0766ff
Compare
Hello, The only way I found is to modify the scripts.html file: <style>
.markmap > svg {
width: 100%;
height: 300px;
}
</style> But it is a global setting. It would be great if I can specify the width and height for a specific markmap. I've tried the following syntax but it doesn't work:
Any suggestions? |
Bump to latest markmap version 0.17.0 Drop support for hugo versions < 0.93.0 Reflect adaptions in user guide
e0766ff
to
b39c589
Compare
I just worked on this PR again:
5 checkers are green, the failure of the remaining test is unrelated to the changes introduced with this PR. This PR enables adjustment of width and height on a per diagram basis, which users ask for. |
I was confronted with the same problem and authored this PR, which addresses and solves that issue.
This is documented in the preview of the userguide for this PR: XXX CITATION XXX
XXX END CITATION XXX
Kindly ask maintainers/community for review and eventual merge of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, and updating it. Overall these are good changes, but I noted that the MindMap doesn't seem to render properly anymore. See inline comments for details about this and other things.
/cc @emckean
This PR brings various improvements for users of
markmap
mindmaps:hugo.yaml
any moreScope: