mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -23,13 +23,14 @@ const (
|
||||
// DefaultConfig holds the default Goldmark configuration.
|
||||
var Default = Config{
|
||||
Extensions: Extensions{
|
||||
Typographer: true,
|
||||
Footnote: true,
|
||||
DefinitionList: true,
|
||||
Table: true,
|
||||
Strikethrough: true,
|
||||
Linkify: true,
|
||||
TaskList: true,
|
||||
Typographer: true,
|
||||
Footnote: true,
|
||||
DefinitionList: true,
|
||||
Table: true,
|
||||
Strikethrough: true,
|
||||
Linkify: true,
|
||||
LinkifyProtocol: "https",
|
||||
TaskList: true,
|
||||
},
|
||||
Renderer: Renderer{
|
||||
Unsafe: false,
|
||||
@@ -57,10 +58,11 @@ type Extensions struct {
|
||||
DefinitionList bool
|
||||
|
||||
// GitHub flavored markdown
|
||||
Table bool
|
||||
Strikethrough bool
|
||||
Linkify bool
|
||||
TaskList bool
|
||||
Table bool
|
||||
Strikethrough bool
|
||||
Linkify bool
|
||||
LinkifyProtocol string
|
||||
TaskList bool
|
||||
}
|
||||
|
||||
type Renderer struct {
|
||||
|
Reference in New Issue
Block a user