Test various Markdown scenarios to verify mode switching fidelity.
Single line
Double newline (paragraph)
Triple newline
Quadruple newline
Inline HTML: red text and bold.
Block HTML:
This is a block-level HTML element.
Line 1
Line 2 (two spaces + newline)
Line 3
Line 4 (HTML break tag)
Asterisk list:
- Item 1
- Item 2
Hyphen list:
- Item 1
- Item 2
Plus list:
- Item 1
- Item 2
Triple backtick:
console.log('hello')Triple tilde:
print('hello')Escaped: * _ # `
Literal HTML entities: < > &
Trailing spaces:
Next line
Empty paragraphs:
Lots of them
- Open this file in Rich mode
- Toggle to Raw mode (Cmd+/)
- Toggle back to Rich mode
- Check console for validation logs
- Verify all content is preserved exactly