Categorygithub.com/bagaking/goldmarkmodifier
modulepackage
0.0.0-20210915181657-8dbcc10a5162
Repository: https://github.com/bagaking/goldmarkmodifier.git
Documentation: pkg.go.dev

# README

goldmarkmodifier

goldmarkmodifier is a subproject of kbs (WIP), which is responsible for providing the "Markdown AST editing capabilities" needed to implement the "markdown project" in kbs.

The goldmarkmodifier is a tool that allows you to modify the ast of markdown, extending the functionality of goldmark to allow you to edit the ast of markdown generated by goldmark.

With goldmarkmodifier you can easily edit the markdown asts parsed by goldmark as follows:

  • Insert arbitrary text
  • Parse and insert another Markdown file

In addition, goldmarkmodifier also provides some quick ways to manipulate ast by providing a data structure called Mapping, which allows you to set up matching rules and add, delete, replace, etc. to the matched structure in ast.

Getting started

Execute go run ./example to see the example

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author