github.com/mcecode/gemtext-parser
Package parser implements gemtext specification concepts by defining various structures and methods for manipulating gemtext. To represent a gemtext document which is line-oriented, flat, and nonhierarchical, this package uses an Abstract Syntax List (ASL) instead of the usual Abstract Syntax Tree (AST). Under the hood, ASLs are just slices. There are different ways to use this package. You can parse a gemtext document using Parse or ParseFile. From there, you can convert it to HTML with ToHTML or ToHTMLFile, or transform it using the different ASL methods before generating a new gemtext document with ToGemtext or ToGemtextFile. You may even want to programmatically create a gemtext document by passing the different Element types, Text, Link, Heading, List, Quote, and PreformatToggle, to NewASL.
proxy.golang.org
v0.1.0
8 months ago
1
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/mcecode/gemtext-parser
spec |
| License | Apache-2.0 |
| Namespace | github.com/mcecode |
| First Release | 8 months ago |
| Last Synced | about 1 month ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |