On this page:
elem
italic
bold
emph
tt
subscript
superscript
smaller
larger
literal
9.0.0.6

3.3 Elements🔗ℹ

function

fun elem(~style: element_style :: maybe(StyleLike) = #false,

         pre_content :: PreContent) :: Element

Constructs an Element with a specific style.

See element_style for information about styles for elements.

function

fun italic(pre_content :: PreContent) :: Element

 

function

fun bold(pre_content :: PreContent) :: Element

 

function

fun emph(pre_content :: PreContent) :: Element

 

function

fun tt(pre_content :: PreContent) :: Element

 

function

fun subscript(pre_content :: PreContent) :: Element

 

function

fun superscript(pre_content :: PreContent) :: Element

 

function

fun smaller(pre_content :: PreContent) :: Element

 

function

fun larger(pre_content :: PreContent) :: Element

Element constructors that each are equivalent to calling elem with a suitable style to achieve the named effect.

function

fun literal(str :: String || List.of(String)) :: Element

Constructs an element with a string to be used literally, as opposed to decoding as usual for PreContent.