Explorar o código

#277 hinting at markdown integration in ui.mermaid

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
8ecefe7a32
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
         '''