浏览代码

#277 hinting at markdown integration in ui.mermaid

Rodja Trappe 2 年之前
父节点
当前提交
8ecefe7a32
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nicegui/elements/mermaid.py

+ 1 - 0
nicegui/elements/mermaid.py

@@ -10,6 +10,7 @@ class Mermaid(ContentElement):
         '''Mermaid Diagrams
 
         Renders diagrams and charts written in the Markdown-inspired `Mermaid <https://mermaid.js.org/>`_ language.
+        The mermaid syntax can also used inside markdown elements by providing the extension string 'mermaid' to the ``ui.markdown`` element.
 
         :param content: the Mermaid content to be displayed
         '''