소스 검색

#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
         '''