package parser

import "git.sr.ht/~bouncepaw/mycomarkup/v5/parser"

Package parser turns the source text into a sequence of blocks.

Index

Functions

func MakeFormatted

func MakeFormatted(ctx mycocontext.Context, firstLine string) blocks.Formatted

MakeFormatted parses the formatted text in the input and returns it. Does it?

func NextToken

func NextToken(ctx mycocontext.Context) (blocks.Block, bool)

NextToken returns the next found block in the input. The second value is true if eof.

Source Files

formatted.go img.go list.go next_token.go parser.go table.go

Directories

PathSynopsis
parser/ctxioPackage ctxio provides input and output operations on the input buffer in mycocontext.Context.
Version
v5.6.0 (latest)
Published
Nov 29, 2023
Platform
linux/amd64
Imports
9 packages
Last checked
18 hours ago

Tools for package owners.