text

package
v0.0.0-...-ef76cd8 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: Unlicense Imports: 8 Imported by: 0

Documentation

Overview

Package text implements functions for processing text files.

This package provides functions for interoperability with other document file formats. This package does not provide functions for general text (file) processing, which are provided by the Go standard library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(r io.Reader) (*document.Node, error)

Parse returns a pointer to a document.Node representing the contents of the given reader.

func Render

func Render(w io.Writer, n *document.Node) errors.Error

Render renders the document parse tree n to the given writer. Raises error if an error occurs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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