<lorem/>

Generates lorem ipsum placeholder text

<lorem/> is a Paragraph Markup component that renders random lorem-ipsum filler text. The amount of text generated is controlled by attribute specification of the number of words, sentences, and paragraphs.

Attributes and Properties

Attributes for <lorem>

Other (7)

number. Number of paragraphs of lorem-ipsum to generate.

number. Number of sentences of lorem-ipsum to generate.

number. Number of words of lorem-ipsum to generate.

number. Default value: 8. Maximum number of sentences per generated paragraph.

number. Default value: 8. Maximum number of words per generated sentence.

number. Default value: 4. Minimum number of sentences per generated paragraph.

number. Default value: 4. Minimum number of words per generated sentence.

Common to all components (9)
copy

reference. Create an independent copy of another component by reference. Enter a references a $name.

disabled

boolean. Default value: false. Whether this component is disabled and cannot be interacted with.

extend

reference. Extend another component by reference, inheriting its children and attributes. Enter a reference as $name.

fixed

boolean. Default value: false. Whether this component's value is fixed and cannot be modified.

fixLocation

boolean. Default value: false. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).

hide

boolean. Default value: false. Whether to hide this component from the rendered output.

isResponse

boolean. Default value: false. Whether this component is treated as a response for the purposes of assessment.

name

text. The name used to reference this component from elsewhere in the document.

styleNumber

integer. Default value: 1. The style number used to select this component's visual styling from the available style definitions.

Properties for <lorem name="l">

Other (4)
$l.maxSentencesPerParagraph

number. Maximum number of sentences per generated paragraph.

$l.maxWordsPerSentence

number. Maximum number of words per generated sentence.

$l.minSentencesPerParagraph

number. Minimum number of sentences per generated paragraph.

$l.minWordsPerSentence

number. Minimum number of words per generated sentence.

Common to all components (4)
$l.doenetML

text. The DoenetML source code that produced this component.

$l.hide

boolean. Whether to hide this component from the rendered output.

$l.isResponse

boolean. Whether this component is treated as a response for the purposes of assessment.

$l.styleNumber

integer. The style number used to select this component's visual styling from the available style definitions.

Attribute Examples

Attribute Example: generateWords

Specify the number of words to generate with the generateWords attribute.


Attribute Example: generateSentences

Specify the number of sentences to generate with the generateSentences attribute.


Attribute Example: generateParagraphs

Specify the number of paragraphs to generate with the generateParagraphs attribute.


Attribute Example: minSentencesPerParagraph, maxSentencesPerParagraph

You can control the length of generated paragraphs with the minSentencesPerParagraph and maxSentencesPerParagraph attributes. The default minimum is four sentences and the default maximum is eight sentences.


Attribute Example: minWordsPerSentence, maxWordsPerSentence

You can control the length of generated sentences with the minWordsPerSentence and maxWordsPerSentence attributes. The default minimum is four words and the default maximum is eight words.