aboutsummaryrefslogtreecommitdiffhomepage
path: root/markup/goldmark/goldmark_config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/goldmark/goldmark_config/config.go')
-rw-r--r--markup/goldmark/goldmark_config/config.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/markup/goldmark/goldmark_config/config.go b/markup/goldmark/goldmark_config/config.go
index dfbcc5a90..cdfb4e7cc 100644
--- a/markup/goldmark/goldmark_config/config.go
+++ b/markup/goldmark/goldmark_config/config.go
@@ -44,9 +44,10 @@ var Default = Config{
LinkifyProtocol: "https",
TaskList: true,
CJK: CJK{
- Enable: false,
- EastAsianLineBreaks: false,
- EscapedSpace: false,
+ Enable: false,
+ EastAsianLineBreaks: false,
+ EastAsianLineBreaksStyle: "simple",
+ EscapedSpace: false,
},
},
Renderer: Renderer{
@@ -118,6 +119,9 @@ type CJK struct {
// Whether softline breaks between east asian wide characters should be ignored.
EastAsianLineBreaks bool
+ // Styles of Line Breaking of EastAsianLineBreaks: "simple" or "css3draft"
+ EastAsianLineBreaksStyle string
+
// Whether a '\' escaped half-space(0x20) should not be rendered.
EscapedSpace bool
}