markdown

package
Version: v0.0.0-...-d05bfab Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 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 (plugin *Markdown) Initialize(context *goldsmith.Context) error

func (*Markdown) Name

func (*Markdown) Name() string

func (*Markdown) Process

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

Source Files

Jump to

Keyboard shortcuts

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