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