You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: markup/goldmark/goldmark_config/config.go
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ var Default = Config{
57
57
EastAsianLineBreaksStyle: "simple",
58
58
EscapedSpace: false,
59
59
},
60
+
CJKFriendly: CJKFriendly{
61
+
Emphasis: false,
62
+
},
60
63
Extras: Extras{
61
64
Delete: Delete{
62
65
Enable: false,
@@ -168,6 +171,7 @@ type Extensions struct {
168
171
LinkifyProtocolstring
169
172
TaskListbool
170
173
CJKCJK
174
+
CJKFriendlyCJKFriendly
171
175
}
172
176
173
177
// Footnote holds footnote configuration.
@@ -270,6 +274,11 @@ type CJK struct {
270
274
EscapedSpacebool
271
275
}
272
276
277
+
typeCJKFriendlystruct {
278
+
// Emphasis adds support for CJK-friendly 'emphasis'. If "strikethrough" goldmark extension is enabled as well, CJK-friendly 'emphasis and strikethrough' will be used.
279
+
Emphasisbool
280
+
}
281
+
273
282
typeRendererstruct {
274
283
// Whether softline breaks should be rendered as '<br>'
0 commit comments