Skip to content

Commit e57c6b1

Browse files
committed
docs: add kcl doc tool escape html flag docs
Signed-off-by: peefy <[email protected]>
1 parent 968b851 commit e57c6b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/kcl/commands/doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ const (
2020
docGenExample = ` # Generate Markdown document for current package
2121
kcl doc generate
2222
23+
# Generate Markdown document for current package and escape the HTML symbols | to \|, \n to <br>, etc.
24+
kcl doc generate --escape-html
25+
2326
# Generate Html document for current package
2427
kcl doc generate --format html
2528

0 commit comments

Comments
 (0)