Dagger
Search

quarto

Open-source scientific and technical publishing system built on Pandoc.

Installation

dagger install github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784

Entrypoint

Return Type
Quarto !
Arguments
NameTypeDefault ValueDescription
versionString -Version (image tag) to use from the official image repository as a base container.
imageString -Custom image reference in "repository:tag" format to use as a base container.
containerContainer -Custom container to use as a base container.
Example
dagger -m github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784 call \
func (m *myModule) example() *Quarto  {
	return dag.
			Quarto()
}
@function
def example() -> dag.Quarto:
	return (
		dag.quarto()
	)
@func()
example(): Quarto {
	return dag
		.quarto()
}

Types

Quarto 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Quarto().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.quarto()
		.container()
	)
@func()
example(): Container {
	return dag
		.quarto()
		.container()
}

render() 🔗

Render files or projects to various document types.

Return Type
Renderer !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-Quarto source directory.
inputString -Input to render within the project.
siteUrlString -Override site-url for website or book output.
Example
dagger -m github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784 call \
 render --source DIR_PATH
func (m *myModule) example(source *Directory) *QuartoRenderer  {
	return dag.
			Quarto().
			Render(source)
}
@function
def example(source: dagger.Directory) -> dag.QuartoRenderer:
	return (
		dag.quarto()
		.render(source)
	)
@func()
example(source: Directory): QuartoRenderer {
	return dag
		.quarto()
		.render(source)
}

Renderer 🔗

directory() 🔗

Get the output directory after rendering.

Return Type
Directory !
Example
dagger -m github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784 call \
 render --source DIR_PATH \
 directory
func (m *myModule) example(source *Directory) *Directory  {
	return dag.
			Quarto().
			Render(source).
			Directory()
}
@function
def example(source: dagger.Directory) -> dagger.Directory:
	return (
		dag.quarto()
		.render(source)
		.directory()
	)
@func()
example(source: Directory): Directory {
	return dag
		.quarto()
		.render(source)
		.directory()
}

file() 🔗

Get the output file after rendering.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/quarto@dd5624fe3be49470adb7f75b1c0fe6600d544784 call \
 render --source DIR_PATH \
 file --name string
func (m *myModule) example(source *Directory, name string) *Directory  {
	return dag.
			Quarto().
			Render(source).
			File(name)
}
@function
def example(source: dagger.Directory, name: str) -> dagger.Directory:
	return (
		dag.quarto()
		.render(source)
		.file(name)
	)
@func()
example(source: Directory, name: string): Directory {
	return dag
		.quarto()
		.render(source)
		.file(name)
}