Spaces:
Running
Running
Update post_blog.py
Browse files- post_blog.py +5 -1
post_blog.py
CHANGED
@@ -69,7 +69,11 @@ def generate_post_html(title, summary, mindmap, category, citation):
|
|
69 |
<h2>Mindmap</h2>
|
70 |
<div class="markmap" id="paper_mindmap" data="# {title} \n {mindmap.replace("&", "&")}">
|
71 |
<script type="text/template">
|
72 |
-
|
|
|
|
|
|
|
|
|
73 |
{mindmap.replace("&", "&")}
|
74 |
</script>
|
75 |
</div>
|
|
|
69 |
<h2>Mindmap</h2>
|
70 |
<div class="markmap" id="paper_mindmap" data="# {title} \n {mindmap.replace("&", "&")}">
|
71 |
<script type="text/template">
|
72 |
+
---
|
73 |
+
title: {title}
|
74 |
+
markmap:
|
75 |
+
maxWidth: 300
|
76 |
+
---
|
77 |
{mindmap.replace("&", "&")}
|
78 |
</script>
|
79 |
</div>
|