markdown

package
v0.0.0-...-d9d1e3d Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Markdown

type Markdown struct {
	Title    string
	Filename string
	Content  string
	Snippets []*Snippet
}

func New

func New(filename string) (*Markdown, error)

func (*Markdown) ParseSnippets

func (m *Markdown) ParseSnippets() error

func (*Markdown) ParseTitle

func (m *Markdown) ParseTitle() error

func (*Markdown) Replace

func (m *Markdown) Replace(urls ...string) error

type Snippet

type Snippet struct {
	Filename string
	Content  string
}

Jump to

Keyboard shortcuts

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