CodeBlock: A code block.

Description Usage Arguments Value See Also

View source: R/types.R

Description

A code block.

Usage

1
CodeBlock(text, exportFrom, format, id, importTo, meta, programmingLanguage)

Arguments

text

The text of the code. Required.

exportFrom

A compilation directive giving the name of the variable to export into the content of the code block.

format

Media type, typically expressed using a MIME format, of the code.

id

The identifier for this item.

importTo

A compilation directive giving the name of the variable to import the content of the code block as.

meta

Metadata associated with this item.

programmingLanguage

The programming language of the code.

Value

A list of class CodeBlock

See Also

Code


stencilaschema documentation built on Feb. 22, 2021, 5:05 p.m.