md2min: Index | Files | Directories

package md2min

import ""


Package Files

md2min.go templates.go

type MdContent Uses

type MdContent struct {
    ListMenu              string
    Content               string
    ContentStyle          string
    MenuStyle             string
    MenuWrapStyle         string
    ScrollBar             string
    ,  string
    // contains filtered or unexported fields

MdContent composes the structure of the parsed markdown document.

func New Uses

func New(level string) *MdContent

New sets the level of navigation elements

func (*MdContent) Parse Uses

func (md *MdContent) Parse(input []byte, wr io.Writer) error

Parse is the workhorse that actually reads in the input bytes, applies template to the content and writes it to io.Writer wr.



Package md2min imports 9 packages (graph) and is imported by 190 packages. Updated 2018-02-11. Refresh now. Tools for package owners.