"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "markup/goldmark/goldmark_config/config.go" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

config.go  (hugo-0.80.0):config.go  (hugo-0.81.0)
skipping to change at line 40 skipping to change at line 40
Strikethrough: true, Strikethrough: true,
Linkify: true, Linkify: true,
TaskList: true, TaskList: true,
}, },
Renderer: Renderer{ Renderer: Renderer{
Unsafe: false, Unsafe: false,
}, },
Parser: Parser{ Parser: Parser{
AutoHeadingID: true, AutoHeadingID: true,
AutoHeadingIDType: AutoHeadingIDTypeGitHub, AutoHeadingIDType: AutoHeadingIDTypeGitHub,
Attribute: true, Attribute: ParserAttribute{
Title: true,
Block: false,
},
}, },
} }
// Config configures Goldmark. // Config configures Goldmark.
type Config struct { type Config struct {
Renderer Renderer Renderer Renderer
Parser Parser Parser Parser
Extensions Extensions Extensions Extensions
} }
skipping to change at line 85 skipping to change at line 88
// Enables custom heading ids and // Enables custom heading ids and
// auto generated heading ids. // auto generated heading ids.
AutoHeadingID bool AutoHeadingID bool
// The strategy to use when generating heading IDs. // The strategy to use when generating heading IDs.
// Available options are "github", "github-ascii". // Available options are "github", "github-ascii".
// Default is "github", which will create GitHub-compatible anchor names. // Default is "github", which will create GitHub-compatible anchor names.
AutoHeadingIDType string AutoHeadingIDType string
// Enables custom attributes. // Enables custom attributes.
Attribute bool Attribute ParserAttribute
}
type ParserAttribute struct {
// Enables custom attributes for titles.
Title bool
// Enables custom attributeds for blocks.
Block bool
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)