From f8dd0e92b4b0d553a7926abd9851d2c355257f5a Mon Sep 17 00:00:00 2001 From: thawk Date: Fri, 19 Aug 2022 16:57:48 +0800 Subject: [PATCH] Improve markdown support. (#817) 1. Support `marked`, you can using it instead. #811 2. Auto trim the indentation, so it can be indent like regular HTML. #812 --- examples/markdown/index.html | 1 + js/impress.js | 113 +++++++++++++++++++++++++---------- src/plugins/extras/extras.js | 113 +++++++++++++++++++++++++---------- 3 files changed, 161 insertions(+), 66 deletions(-) diff --git a/examples/markdown/index.html b/examples/markdown/index.html index a1d87bd..892d415 100644 --- a/examples/markdown/index.html +++ b/examples/markdown/index.html @@ -182,6 +182,7 @@ toggle the CSS style:

+