<lorem/>
<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)
copyreference. Create an independent copy of another component by reference. Enter a references a $name.
disabledboolean. Default value: false. Whether this component is disabled and cannot be interacted with.
extendreference. Extend another component by reference, inheriting its children and attributes. Enter a reference as $name.
fixedboolean. Default value: false. Whether this component's value is fixed and cannot be modified.
fixLocationboolean. Default value: false. Whether this component's location is fixed (preventing it from being moved while still allowing other modifications).
hideboolean. Default value: false. Whether to hide this component from the rendered output.
isResponseboolean. Default value: false. Whether this component is treated as a response for the purposes of assessment.
nametext. The name used to reference this component from elsewhere in the document.
styleNumberinteger. 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.maxSentencesPerParagraphnumber. Maximum number of sentences per generated paragraph.
$l.maxWordsPerSentencenumber. Maximum number of words per generated sentence.
$l.minSentencesPerParagraphnumber. Minimum number of sentences per generated paragraph.
$l.minWordsPerSentencenumber. Minimum number of words per generated sentence.
Common to all components (4)
$l.doenetMLtext. The DoenetML source code that produced this component.
$l.hideboolean. Whether to hide this component from the rendered output.
$l.isResponseboolean. Whether this component is treated as a response for the purposes of assessment.
$l.styleNumberinteger. 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.