render

package
v0.0.0-...-18492a3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocConverter

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

func NewConverter

func NewConverter() *DocConverter

func (*DocConverter) Convert

func (r *DocConverter) Convert(reader io.Reader, syntax string) (*Document, error)

func (*DocConverter) SupportSyntax

func (r *DocConverter) SupportSyntax(syntax string) error

type Document

type Document struct {
	Title   string
	Preview string
	Body    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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