Documentation
¶
Overview ¶
Package glossary parses glossary definitions and highlights terms in HTML.
GLOSSARY.md format:
# Glossary ## API Application Programming Interface. ## Markdown A lightweight markup language.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glossary ¶
type Glossary struct {
Terms []Term
// contains filtered or unexported fields
}
Glossary stores parsed glossary terms.
func (*Glossary) ProcessHTML ¶
ProcessHTML highlights glossary terms in HTML body text.
func (*Glossary) RenderHTML ¶
RenderHTML renders the glossary as an HTML page.
Click to show internal directories.
Click to hide internal directories.