Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IDGenerator ¶
type IDGenerator struct {
// contains filtered or unexported fields
}
IDGenerator for goldmark to provide IDs more similar to GitHub's IDs on markdown parsing
func (*IDGenerator) Generate ¶
func (g *IDGenerator) Generate(value []byte, _ ast.NodeKind) []byte
Generate an ID
func (*IDGenerator) Put ¶
func (g *IDGenerator) Put(value []byte)
Put an ID to the list of already used IDs
Click to show internal directories.
Click to hide internal directories.