{"_id":"542af02f54d88d140075ff14","__v":5,"is_link":false,"parentDoc":null,"project":"542979c51215fe08007e0ee5","version":{"_id":"542979c51215fe08007e0ee8","project":"542979c51215fe08007e0ee5","__v":4,"createdAt":"2014-09-29T15:24:53.437Z","releaseDate":"2014-09-29T15:24:53.437Z","categories":["542979c51215fe08007e0ee9","542985897a6b690800767fab","5429898d1215fe08007e0fe6","542ac5aa54d88d140075fcaf"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5429898d1215fe08007e0fe6","pages":["5429ad872e366c080086b5c6","5429cb1b2e366c080086b777","542db0adcb19820800c1f4a3","54380c2df15a8e1400831f88","542aee7d54d88d140075ff00","542af02f54d88d140075ff14","542f14abacabcf080095953b","54651c6df42a472000b0c611","55f81b4f59eace0d0087db2b","56b0c5d81486990d009c101a","56babbffc275570d00ce7105"],"project":"542979c51215fe08007e0ee5","version":"542979c51215fe08007e0ee8","__v":10,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-09-29T16:32:13.661Z","from_sync":false,"order":1,"slug":"helpers","title":"Helpers"},"user":"542979b61215fe08007e0ee4","updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-09-30T18:02:23.180Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"results":{"codes":[]},"settings":"","try":true,"auth":"never","params":[],"url":""},"isReference":false,"order":8,"body":"Inkcite's `{lorem}` helper makes it easy to rapidly prototype an email design by generating sentences or paragraphs of random content.\n\n## Usage\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"This will generate 15 sentences of random text:\\n\\n{lorem size=15}\\n\\nThis will generate a 5-word headline:\\n\\n{lorem type=headline size=5}\\n\",\n      \"language\": \"html\",\n      \"name\": \"email.html\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Note!\",\n  \"body\": \"Inkcite will automatically report an error and will refuse to make a production build if the email contains lorem ipsum.  You can disable this behavior using the `force` attribute.\"\n}\n[/block]\n## Parameters\n\n#### `force`\nWhen this boolean attribute is present, Inkcite will disable the warning it would normally generate if the email uses this Helper.  This is necessary if you intentionally want lorem ipsum content in your production email.\n\n#### `size`\nThe number of words (for headline- and word-type rendering) or sentences in all other cases.\n\n#### `type`\nSpecify `headline` if you'd like a shorter, Title-Cased random headline.  Specify `words` if you want a specific word count in your random text.  When enabled, the `size` parameter is treated as word count.","excerpt":"Rapidly prototype with randomly generated placeholder content","slug":"lorem-ipsum","type":"basic","title":"Lorem Ipsum"}

Lorem Ipsum

Rapidly prototype with randomly generated placeholder content

Inkcite's `{lorem}` helper makes it easy to rapidly prototype an email design by generating sentences or paragraphs of random content. ## Usage [block:code] { "codes": [ { "code": "This will generate 15 sentences of random text:\n\n{lorem size=15}\n\nThis will generate a 5-word headline:\n\n{lorem type=headline size=5}\n", "language": "html", "name": "email.html" } ] } [/block] [block:callout] { "type": "warning", "title": "Note!", "body": "Inkcite will automatically report an error and will refuse to make a production build if the email contains lorem ipsum. You can disable this behavior using the `force` attribute." } [/block] ## Parameters #### `force` When this boolean attribute is present, Inkcite will disable the warning it would normally generate if the email uses this Helper. This is necessary if you intentionally want lorem ipsum content in your production email. #### `size` The number of words (for headline- and word-type rendering) or sentences in all other cases. #### `type` Specify `headline` if you'd like a shorter, Title-Cased random headline. Specify `words` if you want a specific word count in your random text. When enabled, the `size` parameter is treated as word count.