Versions in this module Expand all Collapse all v1 v1.0.1 Feb 7, 2022 Changes in this version + func ConvertRich(t notion.RichText) string + func ConvertRichText(t []notion.RichText) string + type MdBlock struct + Depth int + Extra map[string]interface{} + type ToMarkdown struct + ContentBuffer *bytes.Buffer + ContentTemplate string + FrontMatter map[string]interface{} + ImgSavePath string + ImgVisitPath string + func New() *ToMarkdown + func (tm *ToMarkdown) EnableExtendedSyntax(target string) + func (tm *ToMarkdown) ExtendedSyntaxEnabled() bool + func (tm *ToMarkdown) GenBlock(bType notion.BlockType, block MdBlock) error + func (tm *ToMarkdown) GenContentBlocks(blocks []notion.Block, depth int) error + func (tm *ToMarkdown) GenFrontMatter(writer io.Writer) error + func (tm *ToMarkdown) GenerateTo(page notion.Page, blocks []notion.Block, writer io.Writer) error + func (tm *ToMarkdown) WithFrontMatter(page notion.Page)