gdoc

package
v2.2.4-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 15 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) ([]types.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