Documentation ¶
Index ¶
- type Converter
- func (c *Converter) BlockRenderFunc(b *notionapi.Block) bool
- func (c *Converter) FrontMatterConverter(converter *frontmatter.Converter) *Converter
- func (c *Converter) PostDir(path string) *Converter
- func (c *Converter) RenderImage(b *notionapi.Block)
- func (c *Converter) RenderPage(b *notionapi.Block)
- func (c *Converter) StaticDir(path string) *Converter
- func (c *Converter) ToMarkdown() error
- func (c *Converter) ToMarkdownWithFrontMatter(columns [][]*notionapi.TextSpan, format frontmatter.Format) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct { *tomarkdown.Converter // contains filtered or unexported fields }
func NewConverter ¶
NewConverter returns a converter for a Notion page.
func (*Converter) FrontMatterConverter ¶
func (c *Converter) FrontMatterConverter(converter *frontmatter.Converter) *Converter
func (*Converter) RenderImage ¶
func (*Converter) RenderPage ¶
func (*Converter) ToMarkdown ¶
func (*Converter) ToMarkdownWithFrontMatter ¶
Click to show internal directories.
Click to hide internal directories.