markdown

package
v0.0.0-...-883b603 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package markdown renders Markdown documents to HTML with the "goldmark" processor. Note that unlike other static site generators, Markdown processing does not automatically parse frontmatter; you will need to use the "frontmatter" plugin to extract any metadata which may be present in your source content.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Markdown

type Markdown struct {
	// contains filtered or unexported fields
}

Markdown chainable context.

func New

func New() *Markdown

New creates a new instance of the Markdown plugin.

func NewWithGoldmark

func NewWithGoldmark(md goldmark.Markdown) *Markdown

New creates a new instance of the Markdown plugin with user-provided goldmark instance.

func (*Markdown) Initialize

func (self *Markdown) Initialize(context *goldsmith.Context) error

func (*Markdown) Name

func (*Markdown) Name() string

func (*Markdown) Process

func (self *Markdown) Process(context *goldsmith.Context, inputFile *goldsmith.File) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL