Add option to disable AutoLink parsing
This commit is contained in:
parent
592be07cfd
commit
3c2e9ed204
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,7 @@ type Document struct {
|
|||
Footnotes *Footnotes
|
||||
StatusKeywords []string
|
||||
MaxEmphasisNewLines int
|
||||
AutoLink bool
|
||||
BufferSettings map[string]string
|
||||
DefaultSettings map[string]string
|
||||
}
|
||||
|
@ -57,6 +58,7 @@ func NewDocument() *Document {
|
|||
Title: "Footnotes",
|
||||
Definitions: map[string]*FootnoteDefinition{},
|
||||
},
|
||||
AutoLink: true,
|
||||
MaxEmphasisNewLines: 1,
|
||||
BufferSettings: map[string]string{},
|
||||
DefaultSettings: map[string]string{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue