gdoc

package
v1.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
}

Parser is a Google Doc parser.

func (*Parser) Parse

func (p *Parser) Parse(r io.Reader, opts parser.Options) (*types.Codelab, error)

Parse parses a codelab exported in HTML from Google Docs.

func (*Parser) ParseFragment

func (p *Parser) ParseFragment(r io.Reader, opts parser.Options) ([]nodes.Node, error)

ParseFragment parses a codelab fragment exported in HTML from Google Docs.

Jump to

Keyboard shortcuts

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