On this page

TypstModule

linnet_py Class

TypstModule()

A local or package Typst module whose exports can be referenced safely.

Member details

file

Static method
#
file(path: str | os.PathLike[str]) -> TypstModule

No description is available for this member.

Parameters

NameTypeDefaultDescription
pathstr | os.PathLike[str]——

package

Static method
#
package(specification: str) -> TypstModule

No description is available for this member.

Parameters

NameTypeDefaultDescription
specificationstr——

value

Method
#
value(export: str) -> _TypstValueRef

No description is available for this member.

Parameters

NameTypeDefaultDescription
exportstr——

content

Method
#
content(export: str) -> _TypstContentRef

No description is available for this member.

Parameters

NameTypeDefaultDescription
exportstr——

function

Method
#
function(export: str) -> _TypstFunctionRef

No description is available for this member.

Parameters

NameTypeDefaultDescription
exportstr——

__repr__

Method
#
__repr__() -> str

No description is available for this member.