Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeBlockTransformer ¶
type Diffs ¶
type FrontMatterTransformer ¶
type LinkTransformer ¶
type Option ¶
type Option func(*Formatter)
Option is a functional option type for Formatter objects.
func WithCodeBlockTransformer ¶
func WithCodeBlockTransformer(cb CodeBlockTransformer) Option
WithMetaBlockTransformer allows you to override the default CodeBlockTransformer.
func WithFrontMatterTransformer ¶
func WithFrontMatterTransformer(fm FrontMatterTransformer) Option
WithFrontMatterTransformer allows you to override the default FrontMatterTransformer.
func WithLinkTransformer ¶
func WithLinkTransformer(l LinkTransformer) Option
WithLinkTransformer allows you to override the default LinkTransformer.
type RemoveFrontMatter ¶
type RemoveFrontMatter struct{}
func (RemoveFrontMatter) Close ¶
func (RemoveFrontMatter) Close() error
func (RemoveFrontMatter) TransformFrontMatter ¶
Click to show internal directories.
Click to hide internal directories.