Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse parses source r into a Codelab using a parser registered with the specified name.
func ParseFragment ¶
ParseFragment parses a codelab fragment provided in r, using a parser registered with the specified name.
Types ¶
type Parser ¶
type Parser interface { // Parse parses source r into a Codelab for the specified environment env. Parse(r io.Reader) (*types.Codelab, error) // ParseFragment is similar to Parse except it doesn't parse codelab metadata. ParseFragment(r io.Reader) ([]types.Node, error) }
Parser parses a codelab in specific resource format. Each parser needs to call Register to become a known parser.
Directories ¶
Path | Synopsis |
---|---|
Package md implements a parser for CLaaT. It expects, as input, the output of running a Markdown file through the Devsite Markdown processor.
|
Package md implements a parser for CLaaT. It expects, as input, the output of running a Markdown file through the Devsite Markdown processor. |
Click to show internal directories.
Click to hide internal directories.