pandoc

package
v0.0.0-...-15180a3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: NCSA Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// eval and full are now the same when released
	BitbucketURLEval = "https://github.com/webgpu/gputeachingkit-labs/src/master/"
	BitbucketURLFull = "https://github.com/webgpu/gputeachingkit-labs/src/master/"

	MarkdownFormat = "markdown+hard_line_breaks+pandoc_title_block+lists_without_preceding_blankline+" +
		"compact_definition_lists+simple_tables+table_captions"
)

Variables

View Source
var (
	DefaultFilter = []string{
		"--highlight-style",
		"pygments",
		"--self-contained",
	}
	Config = config{
		IsFullTookit: true,
	}
)
View Source
var BuildOptions = buildOptions{}
View Source
var (
	Filters = []pf.Action{
		LabInfoFilter,
	}
)
View Source
var Lab = lab{}

Functions

func AddFilter

func AddFilter(filter pf.Action)

func AnswerFilter

func AnswerFilter(k string, v interface{}, format string, meta interface{}) interface{}

func BuildOptionsFilter

func BuildOptionsFilter(k string, v interface{}, format string, meta interface{}) interface{}

func Clear

func Clear()

func CommentFilter

func CommentFilter(k string, v interface{}, format string, meta interface{}) interface{}

func DiagramFilter

func DiagramFilter(k string, v interface{}, format string, meta interface{}) interface{}

func HeaderFilter

func HeaderFilter(k string, v interface{}, format string, meta interface{}) interface{}

func LabInfoFilter

func LabInfoFilter(k string, v interface{}, format string, meta interface{}) interface{}

func LabLinkFilter

func LabLinkFilter(k string, v interface{}, format string, meta interface{}) interface{}

func OutputDocX

func OutputDocX() (string, error)

func OutputEdx

func OutputEdx() (string, error)

func OutputHTML

func OutputHTML() (string, error)

func OutputPDF

func OutputPDF() (string, error)

func ReadmeLinkFilter

func ReadmeLinkFilter(k string, v interface{}, format string, meta interface{}) interface{}

Types

type Resource

type Resource struct {
	FileName string
	Content  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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