From 9412e9080a178f9a97246b839ca874c16bb7aa6e Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 13 Mar 2020 17:33:35 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20Vditor=20=E6=94=AF=E6=8C=81=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=B1=BB=E4=BC=BC=20Typora=20=E7=9A=84=E5=8F=8A?= =?UTF-8?q?=E6=97=B6=E6=B8=B2=E6=9F=93=E6=A8=A1=E5=BC=8F=EF=BC=88=E4=BF=9D?= =?UTF-8?q?=E7=95=99=20Markdown=20=E6=A0=87=E8=AE=B0=E7=AC=A6=EF=BC=89=20h?= =?UTF-8?q?ttps://github.com/Vanessa219/vditor/issues/27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parse/parse.go | 2 +- vditorir.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parse/parse.go b/parse/parse.go index 01d8bd96aa..96941da3cf 100644 --- a/parse/parse.go +++ b/parse/parse.go @@ -251,7 +251,7 @@ type Options struct { Terms map[string]string // Vditor 所见即所得支持 VditorWYSIWYG bool - // Vditor 及时渲染支持 + // Vditor 即时渲染支持 VditorIR bool // InlineMathAllowDigitAfterOpenMarker 设置内联数学公式是否允许起始 $ 后紧跟数字 https://github.com/b3log/lute/issues/38 InlineMathAllowDigitAfterOpenMarker bool diff --git a/vditorir.go b/vditorir.go index de517b23bb..f1abc263bc 100644 --- a/vditorir.go +++ b/vditorir.go @@ -23,7 +23,7 @@ import ( "github.com/88250/lute/util" ) -// SpinVditorIRDOM 自旋 Vditor Instant-Rendering DOM,用于及时渲染模式下的编辑。 +// SpinVditorIRDOM 自旋 Vditor Instant-Rendering DOM,用于即时渲染模式下的编辑。 func (lute *Lute) SpinVditorIRDOM(ivHTML string) (ovHTML string) { lute.VditorIR = true lute.VditorWYSIWYG = true @@ -42,7 +42,7 @@ func (lute *Lute) SpinVditorIRDOM(ivHTML string) (ovHTML string) { return } -// HTML2VditorIRDOM 将 HTML 转换为 Vditor Instant-Rendering DOM,用于及时渲染模式下粘贴。 +// HTML2VditorIRDOM 将 HTML 转换为 Vditor Instant-Rendering DOM,用于即时渲染模式下粘贴。 func (lute *Lute) HTML2VditorIRDOM(sHTML string) (vHTML string) { lute.VditorIR = true lute.VditorWYSIWYG = true