markdown

package
v0.0.0-...-2d85ce1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotionExtension = &notionExtension{}

Functions

func MDToNotionBlock

func MDToNotionBlock(source []byte) []notion.Block

func NewNotionRenderer

func NewNotionRenderer(opts ...html.Option) renderer.NodeRenderer

Types

type NotionRenderer

type NotionRenderer struct {
	html.Config
}

func (*NotionRenderer) RegisterFuncs

func (r *NotionRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)

RegisterFuncs implements renderer.NodeRenderer.RegisterFuncs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL