Tips Text Formatting Test
Back to Tips Table
Load text from record id
Load by id
Load text from local file
Load file
Sample Source Text
Render
# Main Heading This is a paragraph after a heading. It should wrap into a single block. ## Subheading - First bullet item - Second bullet item with a link: https://example.com - Third bullet 1. Number one 2. Number two Key One: Value for key one Key Two: Another value here == Alternate Heading == ```text Some example code block with indentation and multiple lines. ``` This is a very long paragraph that should trigger the show more/less behaviour when rendered via the rich text block helper. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Another short paragraph after the long one.
formatRichText() output
Copy HTML
buildRichTextBlock() output (with show more/less)