Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Converter ¶
type Converter struct { *tomarkdown.Converter // contains filtered or unexported fields }
func NewConverter ¶
func NewConverter( client *notionapi.Client, page *notionapi.Page, blog config.Blog, options ConverterOptions, ) *Converter
NewConverter returns a converter for a Notion page.
func (*Converter) RenderBlock ¶
func (*Converter) RenderImage ¶
func (*Converter) ToMarkdown ¶
type ConverterOptions ¶
type ConverterOptions struct { // SkipTitle skips rendering the title. // This field prevents the title from being duplicated by the site generator. SkipTitle bool }
type FrontMatter ¶
type FrontMatter struct {
// contains filtered or unexported fields
}
func NewFrontMatter ¶
func NewFrontMatter(tableview *notionapi.TableView, formatter Formatter) *FrontMatter
Click to show internal directories.
Click to hide internal directories.