Van 5 years ago
parent
commit
dbb2fd2b02
1 changed files with 5 additions and 0 deletions
  1. 5 0
      demo/static.html

+ 5 - 0
demo/static.html

@@ -63,6 +63,11 @@
     placeholder: 'placeholder',
     counter: 100,
     height: 500,
+    preview: {
+      markdown: {
+        toc: true,
+      },
+    },
     hint: {
       emojiPath: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/images/emoji',
       emojiTail: '<a href="https://hacpai.com/settings/function" target="_blank">设置常用表情</a>',