Spaces:
Sleeping
Sleeping
Update default mermaid code to mindmap example
Browse files
app.py
CHANGED
|
@@ -29,12 +29,23 @@ except RuntimeError as e:
|
|
| 29 |
def index():
|
| 30 |
"""Display the main page with the form, including default example code."""
|
| 31 |
default_mermaid_code = textwrap.dedent("""
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
""").strip()
|
| 39 |
|
| 40 |
if renderer is None:
|
|
|
|
| 29 |
def index():
|
| 30 |
"""Display the main page with the form, including default example code."""
|
| 31 |
default_mermaid_code = textwrap.dedent("""
|
| 32 |
+
mindmap
|
| 33 |
+
root((mindmap))
|
| 34 |
+
Origins
|
| 35 |
+
Long history
|
| 36 |
+
::icon(fa fa-book)
|
| 37 |
+
Popularisation
|
| 38 |
+
British popular psychology author Tony Buzan
|
| 39 |
+
Research
|
| 40 |
+
On effectiveness<br/>and features
|
| 41 |
+
On Automatic creation
|
| 42 |
+
Uses
|
| 43 |
+
Creative techniques
|
| 44 |
+
Strategic planning
|
| 45 |
+
Argument mapping
|
| 46 |
+
Tools
|
| 47 |
+
Pen and paper
|
| 48 |
+
Mermaid
|
| 49 |
""").strip()
|
| 50 |
|
| 51 |
if renderer is None:
|