Documentation ¶
Overview ¶
Package gemini contains an implementation of markdown => text/gemini renderer for github.com/gomarkdown/markdown.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
Metadata Metadata
}
Renderer implements markdown.Renderer.
func NewRendererWithMetadata ¶
NewRendererWithMetadata returns a new Renderer initialized with post metadata.
func (Renderer) RenderFooter ¶
RenderFooter implements Renderer.RenderFooter().
func (Renderer) RenderHeader ¶
RenderHeader implements Renderer.RenderHeader(). It renders metadata at the top of the post if any has been provided.
func (Renderer) RenderNode ¶
RenderNode implements Renderer.RenderNode().
Click to show internal directories.
Click to hide internal directories.