proxy.golang.org : 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.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/mcecode/gemtext-parser
Keywords:
gemini-protocol
, gemtext
, html
, parser
License: Apache-2.0
Latest release: 4 months ago
First release: 4 months ago
Namespace: github.com/mcecode
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago