command
Version:
v0.0.0-...-f7e15b2
Opens a new window with list of versions in this module.
Published: Dec 5, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Here you can find examples of advanced uses of this library.
You can use them as base for your own code.
They are described in more detail in https://blog.kowalczyk.info/article/cxn3/advanced-markdown-processing-in-go.html
You can run each of them with: go run <program.go>
.
The examples:
basic.go
: simplest markdown => HTML example
render_hook.go
: shows how to customize HTML renderer with render hook function
code_highlight.go
: shows how to syntax highlight code blocks using github.com/alecthomas/chroma
parser_hook.go
: shows how to extend parser to recognize custom block-level syntax
modify_ast.go
: shows how to modify AST after parsing but before HTML rendering
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.