customizable native markdown component #4606
yihuang
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 2 replies
-
https://nicegui.io/documentation/markdown#markdown_element
Have you tried it already? If you want to further customize the functionalities, check: nicegui/nicegui/elements/markdown.py Line 17 in 4855d10 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not experienced in nicegui and frontend in general, start a mini project recently to write a llm chat gui with nicegui (https://github.com/yihuang/nicechat), it works very good so far.
But now I try to dig deeper, I find myself trying to customize the features in markdown, for example adding some tools to the code-blocks, I have to patch markdown2 library to inject raw html/javascript snippets, which is quite ugly (code), and hard to implement more advanced features.
For such use cases, I feel that we need a nicegui native markdown component that do the rendering with nicegui itself, and implemented in a customizable. WDYT?
Beta Was this translation helpful? Give feedback.
All reactions