input

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

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeOverflowThreshold

func ChangeOverflowThreshold(newThreshold int)

Change the threshold for the regeration of the PDF

func GenerateCVFromMarkDownToLatex

func GenerateCVFromMarkDownToLatex(root string) error

Use the implementation for markdown and latex to generate latex CV from a tree dir of mardown document

func PrintAllCvs

func PrintAllCvs(root string)

Print info in the prompt for all the cvs

Types

type MarkdownSource

type MarkdownSource struct{}

func (*MarkdownSource) GetCVsFrom

func (*MarkdownSource) GetCVsFrom(root string) ([]core.CV, error)

`GetCVFrom` takes a root directory and extracts Markdown documents to generate a list of CV type.

This function assumes the directory structure is a tree with a depth of 3, where each leaf is a Markdown (.md) document. Each document may contain multiple paragraphs, but the headers should not repeat within the same document.

type YamlSource

type YamlSource struct{}

func (*YamlSource) GetParamsFrom

func (*YamlSource) GetParamsFrom(root string) (core.Params, error)

Jump to

Keyboard shortcuts

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