Преглед на файлове

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