docsy
docsy copied to clipboard
Is it possible to adjust the height of a rendered markmap?
When using MarkMaps they are always a fixed size. We have huge whitespace below the created mindmap svg. Especially when you create markmaps with a lot of horizontal content which could easily be shown on the page. But the whitespace is not allowing that.
Is it somehow possible to increase the height of the rendered markmap?
@llhhbc you added the MarkMap integration, any ideas? I can take a look too.
Have just seen that the height is hardcoded here: https://github.com/google/docsy/blob/main/layouts/partials/scripts.html#L16
I need to fix something else in that file, and then I'll see if I can make it more flexible.
Any update on this?
ugh, sorry, I took over the fix but didn't see this issue. The other fix is in https://github.com/google/docsy/pull/1175, but I'm also checking on something else so I'll keep this in mind now!
Short-term, I think you could change that height in the /layouts/partials/scripts.html file
Any updates on making this more flexible?
@LisaFC Sorry, the previous level was limited, and it could only be integrated, but it could not be extended.