Documentation
¶
Overview ¶
Package glossary parses glossary definitions and highlights terms in HTML.
GLOSSARY.md 格式:
# Glossary ## API Application Programming Interface,应用程序编程接口。 ## Markdown 一种轻量级标记语言。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Glossary ¶
type Glossary struct {
Terms []Term
}
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.