package
0.0.0-20220923220251-eb075993b9e9
Repository: https://github.com/joshrosso/nexp.git
Documentation: pkg.go.dev

# Functions

NewExporter returns an exporter instance with an underlying Notion API client attached.
NewRenderer returns a renderer based on the kind (export format) provided.
ResolveImageSaveOptions takes a list of ImageSaveOptions and sets defaults, overwritting them with any options specified.
ResolveLanguageForCodeBlock takes a Notion code block's language type as input and returns a representation more friendly for markdown parsers.
ResolveTitleInPage takes a Notion page object and loops through its properties to find the property which is a title Type.
SaveNotionImageToFilesystem takes the URL of a Notion-hosted image.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ImageSaveOptions define how Image blocks may be handled.
No description provided by the author
OverrideOptions contains optional function definitions that can override the default behaviour of a block renderer.
RenderOptions contains settings for how rendering should occur.

# Interfaces

Renderer defines how to translate Notion API block objects (https://developers.notion.com/reference/block) into a text representation.