3.9 Main Datatypes
Elements are typically constructed via functions like bold and larger, instead of using Element directly.
The Element veneer recognizes the same values as the Racket Scribble library’s element?.
See also MultiargElement, TraverseElement, PartRelativeElement, DelayedElement, CollectElement, and RenderElement.
annotation | |
| |
annotation | |
| |
annotation | |
| |
annotation | |
Pre-content is the same as content, but with the intent that decoding is applied to strings in content mode. For example, `` and '' are decoded into “ and ”.
Content.to_s_exp and PreContent.to_s_exp are converting annotations that produce a value suitable for interoperation with Racket Scribble libraries. In particular, they convert Rhombus lists to pair lists.
function | |
| |
function | |
The Content.width function reports an approximate width in characters for the given content.
annotation | |
| |
annotation | |
PreFlow.to_s_exp is a converting annotation that produces a value suitable for interoperation with Racket Scribble libraries. In particular, it converts Rhombus lists to pair lists.
annotation | |
The FlowBlock annotation recognizes the same values as the Racket Scribble library’s block?.
The Parl veneer recognizes the same values as the Racket Scribble library’s part?.
annotation | |
veneer | ||||
| ||||
function | ||||
| ||||
value | ||||
name: Symbol names are used to communicate certain style adjustments that are applicable to many backends, such as #'bold for bold text. String names tend to be used in a backend-specific way: the CSS class name for HTML output, or a Latex macro or environment name for Latex/PDF output.
properties: A list of values that further configure backend-specific choices. Again, symbol properties are often used for style adjustments that are applicable to many backends, or a property may be a value with more structure.
The Style.plain style is used as a default style that applies no effects when rendering.
The Style veneer recognizes the same values as the Racket Scribble library’s style?.
annotation | |
annotation | |
| |
annotation | |
| |
annotation | |
| |
annotation | |
| |
annotation | |
| |
annotation | |
| |
annotation | |
The TagPrefix annotation recognizes values that work as a tag prefix, which is a string or a ModulePath.
Tag.to_s_exp and Taglet.to_s_exp are converting annotations that produce a value suitable for interoperation with Racket Scribble libraries. In particular, they convert Rhombus lists to pair lists.