-
Notifications
You must be signed in to change notification settings - Fork 102
Description
My app uses imgui_node_editor
to build a diagram on a canvas. One of the types of diagram node is a text display (it's used for displaying comments and inline documentation about the diagram)
I have recently gotten imgui_md
to work as a markdown display, 🎉
It has some quirks which I am working around, but here is one that I think is an issue with the imgui_md_wrapper
code that is part of the bindings: A code block (whether started with ``` or with a 4-space indent) displays the formatted code jammed against the left edge of the window, not the left edge of the block containing the markdown display.
As the attached screencast shows, other markdown content and the shaded background for the code block are rendered more or less where expected (there is some kind of icon displayed off the right side of the window, but I will worry about that later).
Screencast.From.2024-11-20.12-43-15.mp4
The app in the screencast is hosted at https://github.com/bgribble/mfp and the master
branch is what the screencast was made from.