markdown

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevel = log.WarnLevel
)

Functions

func AddMetadataPrefix

func AddMetadataPrefix(content string) string

AddMetadataPrefix Adds a prefix in some content

func CreateMDFile

func CreateMDFile(filePath, content string, metadata bool)

CreateMDFile persists a file on disk

func DeleteFile

func DeleteFile(file string)

DeleteFile Deletes a file from the disk

func Execute

func Execute(output string, rootDirectory string)

Execute orchestrates the execution of the library

func GetFileRealPath

func GetFileRealPath(rootDirectory, path string) string

GetFileRealPath Prepares the relative path of a file based on the root directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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