Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertRequest ¶
type PandocConverter ¶
type PandocConverter struct {
// contains filtered or unexported fields
}
PandocConverter represents a document converter based on Pandoc
func NewConverter ¶
func NewConverter() (*PandocConverter, error)
NewConverter creates a new document converter
func (*PandocConverter) Convert ¶
func (p *PandocConverter) Convert(req *ConvertRequest) error
Convert converts a file from one format to another
func (*PandocConverter) ValidateFormat ¶
func (p *PandocConverter) ValidateFormat(format string) bool
ValidateFormat checks if the format is supported
Click to show internal directories.
Click to hide internal directories.