Procházet zdrojové kódy

#277 hinting at markdown integration in ui.mermaid

Rodja Trappe před 2 roky
rodič
revize
8ecefe7a32
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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
         '''