generator

package
v0.0.0-...-1bfbc23 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TEMPLATE = `` /* 3439-byte string literal not displayed */
View Source
const FLECK_PREFIX = `` /* 270-byte string literal not displayed */

Variables

View Source
var VERSION = ""

Functions

func WritePlain

func WritePlain(fileName string, result []parser.Tag, toc string)

write html to a file, writes the prefix with the compilation flags contained before writing the parsed html if '--no-prefix' is not specified.

func WriteTemplate

func WriteTemplate(fileName string, result []parser.Tag, toc string)

write html to a file using a template, writes the prefix with the compilation flags contained before writing the parsed html if '--no-prefix' is not specified. Replaces @FLECK_TITLE in the template with the input filename without extension. Replaces @FLECK_CONTENT with the parsed markdown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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