gdoc

package
v0.0.0-...-acd99bb Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT, Apache-2.0 Imports: 16 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) ([]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