quarto
Open-source scientific and technical publishing system built on Pandoc.
Installation
dagger install github.com/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e
Entrypoint
Return Type
Quarto !
Arguments
Name | Type | Description |
---|---|---|
version | String | Version (image tag) to use from the official image repository as a base container. |
image | String | Custom image reference in "repository:tag" format to use as a base container. |
container | Container | Custom container to use as a base container. |
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e 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/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Quarto source directory. |
input | String | - | Input to render within the project. |
siteUrl | String | - | Override site-url for website or book output. |
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e 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/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e 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
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/quarto@a104424df38ca8b0b758f699dcfeeb0c2210cc2e 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)
}