-
I'm using Rich and Markdown-Exec to add terminal SVGs to my docs dynamically. The first SVG has a console width of 150 and the second one 80. Instead of the SVG fitting the width and reducing font size, I'd like it to always render using the same font size and with an horizontal scroll bar, just like regular code blocks. Would any of you know how to achieve this 😄? The SVG is wrapped in a I've tried setting a larger width on the SVG than the parent div, with Shamefully tagging @squidfunk as maybe you'll have an idea 🙈 🙇♂️? (I'm using Material for MkDocs) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Ah, for this exact use-case, I believe |
Beta Was this translation helpful? Give feedback.
Ah, for this exact use-case, I believe
export_html
is the solution: this will be rendered as a code block, with the desired horizontal scrolling. Font size will match the rest of the page.