bigeyex / python-adminui

Write professional web interfaces with Python.
MIT License
123 stars 29 forks source link

Markdown component support #53

Open jwag59 opened 2 years ago

jwag59 commented 2 years ago

Any chance to support a 3rd party Markdown component? I noticed a couple of options here (and Antd doesn't support a Markdown component as standard): https://github.com/DwayneAnderson/react-antdown or https://remarkjs.github.io/react-markdown/

This could, for example, be made optionally available only if the 3rd party package is installed if you didn't want to bloat your installer with 3rd party addons.

bigeyex commented 2 years ago

Could this be done with Python's markdown package and RawHTML? Server-side processing of these types of content seems to be more natural.

jwag59 commented 2 years ago

OK I implemented as you mentioned in a RawHTML element. Feel free to close this issue.