Documentation ¶
Overview ¶
Package syntax contains components to perform syntax highlighting
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeBlock ¶
CodeBlock is a ``` fenced block of code that will be syntax highlighted
func NewCodeBlock ¶
func NewCodeBlock() CodeBlock
type Highlighter ¶
Highlighter is the interface that syntax highlighters must implement
type Pygmentize ¶
type Pygmentize struct{}
Pygmentize uses the external "pygmentize" command. Pygmentize must be installed on the executing machine: http://pygments.org/ pip install Pygments
Click to show internal directories.
Click to hide internal directories.