summaryrefslogtreecommitdiffstats
path: root/markup/goldmark
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-18 12:05:56 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-18 21:25:27 +0200
commit610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch)
tree3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /markup/goldmark
parent24e7d0c174a24a016f65be46765ab9c795e1e123 (diff)
all: Fix comments for exported functions and packages
Diffstat (limited to 'markup/goldmark')
-rw-r--r--markup/goldmark/codeblocks/transform.go2
-rw-r--r--markup/goldmark/goldmark_config/config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/markup/goldmark/codeblocks/transform.go b/markup/goldmark/codeblocks/transform.go
index be5334b5f..829dfcc19 100644
--- a/markup/goldmark/codeblocks/transform.go
+++ b/markup/goldmark/codeblocks/transform.go
@@ -6,7 +6,7 @@ import (
"github.com/yuin/goldmark/text"
)
-// Kind is the kind of an Hugo code block.
+// KindCodeBlock is the kind of an Hugo code block.
var KindCodeBlock = ast.NewNodeKind("HugoCodeBlock")
// Its raw contents are the plain text of the code block.
diff --git a/markup/goldmark/goldmark_config/config.go b/markup/goldmark/goldmark_config/config.go
index f35427ac1..a6fe0e624 100644
--- a/markup/goldmark/goldmark_config/config.go
+++ b/markup/goldmark/goldmark_config/config.go
@@ -20,7 +20,7 @@ const (
AutoHeadingIDTypeBlackfriday = "blackfriday"
)
-// DefaultConfig holds the default Goldmark configuration.
+// Default holds the default Goldmark configuration.
var Default = Config{
Extensions: Extensions{
Typographer: Typographer{