-
The app I'm building doesn't use any of the "frameworks" (hello_imgui, immapp) but is implemented as a normal imgui app, but in Python. I am trying to get the Markdown renderer in
Anybody used the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I have tracked this down a bit more. The version of |
Beta Was this translation helpful? Give feedback.
-
Hello I decided to give it a more complete look This commit (4b3f660) makes it possible to use the markdown renderer outside of hello_imgui. For an example with a pure python back end, look at: However, we have to rely on some tricks because the pure Python OpenGL renderer normally does not call imgui.backends.opengl3_new_frame() (which is when the font texture is loaded by the native side of hello imgui) |
Beta Was this translation helpful? Give feedback.
Yes , unfortunately it is. The original imgui_md requires a lot of set up before you can use it.
The wrapper I have written, removes this burden: it loads all the required fonts, provides a call back for loading and displaying images, a callback for opening links, a custom renderer for code blocks, etc.
However, it does rely on immapp
I Do not see an easy work around for the moment