Documentation
¶
Index ¶
- Variables
- func AddToStack(client *notionapi.Client, pageID string) error
- func Block2String(c *notion.Client, b notion.Block, level int) (string, error)
- func BulletedListItem2String(b notion.Block, level int) string
- func ChildPage2String(b notion.Block, level int) string
- func Code2String(b notion.Block, level int) string
- func Column2String(c *notion.Client, b notion.Block, level int) (string, error)
- func ColumnList2String(c *notion.Client, b notion.Block, level int) (string, error)
- func CreatePage(client *notionapi.Client, parentID string, title, icon string) (string, error)
- func Divider2String(b notion.Block, level int) string
- func Equation2String(b notion.Block, level int) string
- func GetStack(client *notion.Client, pageID string) (notion.Block, error)
- func GetStackEntries(client *notion.Client, pageID string) (notion.Blocks, error)
- func Heading2String(b interface{}, level int) string
- func Image2String(b notion.Block, level int) string
- func InitAPI() (*notionapi.Client, string, error)
- func ModifyStack(client *notionapi.Client, pageID string) error
- func NewClient(token string) *notionapi.Client
- func NumberedListItem2String(b notion.Block, level int) string
- func PageTitle2String(page *notion.Page) string
- func Paragraph2String(b notion.Block, level int) string
- func ParseStack(client *notion.Client, pageID string) (*[]string, *[]string, *[]bool, error)
- func ParseStackFromBlocks(client *notion.Client, blocks notion.Blocks, pageID string) (*[]string, *[]string, *[]bool, error)
- func RichText2String(rts []notion.RichText, prefix string, level int, style ...utils.TextStyle) string
- func RmFromStack(client *notionapi.Client, pageID string) error
- func ShowBlock(c *notion.Client, b notion.Block, level int) error
- func ShowBulletedListItem(b notion.Block, level int) error
- func ShowChildPage(b notion.Block, level int) error
- func ShowCode(b notion.Block, level int) error
- func ShowColumn(c *notion.Client, b notion.Block, level int) error
- func ShowColumnList(c *notion.Client, b notion.Block, level int) error
- func ShowDivider(b notion.Block, level int) error
- func ShowEquation(b notion.Block, level int) error
- func ShowHeading(b interface{}, level int) error
- func ShowImage(b notion.Block, level int) error
- func ShowNumberedListItem(b notion.Block, level int) error
- func ShowPage(client *notion.Client, pageID string) error
- func ShowPageTitle(page *notion.Page) error
- func ShowParagraph(b notion.Block, level int) error
- func ShowRichText(rts []notion.RichText, prefix string, level int, style ...utils.TextStyle) error
- func ShowTitle(title *notion.TitleProperty) error
- func ShowToDo(b notion.Block, level int) error
- func ShowToggle(c *notion.Client, b notion.Block, open bool, level int) error
- func Title2String(title *notion.TitleProperty) string
- func ToDo2String(b notion.Block, level int) string
- func Toggle2String(c *notion.Client, b notion.Block, open bool, level int) (string, error)
- func ToggleStack(client *notionapi.Client, pageID string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NumberedListCounter int
Functions ¶
func Column2String ¶
func ColumnList2String ¶
func CreatePage ¶
func GetStackEntries ¶
func Heading2String ¶
func PageTitle2String ¶
func ParseStack ¶
func ParseStackFromBlocks ¶
func RichText2String ¶
func ShowHeading ¶
func ShowPageTitle ¶
func ShowRichText ¶
func ShowTitle ¶
func ShowTitle(title *notion.TitleProperty) error
func Title2String ¶
func Title2String(title *notion.TitleProperty) string
func Toggle2String ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.