tmplfuncs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tmplfuncs provides custom template functions for use in the markdown

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeFile

func CodeFile(format, file string) (string, error)

CodeFile reads the content of a file and returns it as a markdown code block

func PrefixLines

func PrefixLines(prefix, text string) string

PrefixLines prefixes each line in the text with the given prefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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