Skip to content

Latest commit

 

History

History
101 lines (60 loc) · 1.18 KB

File metadata and controls

101 lines (60 loc) · 1.18 KB

Mode Switching Test Document

Purpose

Test various Markdown scenarios to verify mode switching fidelity.


Test 1: Basic Newlines

Single line

Double newline (paragraph)

Triple newline

Quadruple newline


Test 2: HTML Content

Inline HTML: red text and bold.

Block HTML:

This is a block-level HTML element.


Test 3: Hard Breaks

Line 1
Line 2 (two spaces + newline)

Line 3
Line 4 (HTML break tag)


Test 4: Lists

Asterisk list:

  • Item 1
  • Item 2

Hyphen list:

  • Item 1
  • Item 2

Plus list:

  • Item 1
  • Item 2

Test 5: Code Blocks

Triple backtick:

console.log('hello')

Triple tilde:

print('hello')

Test 6: Special Characters

Escaped: * _ # `

Literal HTML entities: < > &


Test 7: Edge Cases

Trailing spaces:
Next line

Empty paragraphs:

Lots of them


Instructions

  1. Open this file in Rich mode
  2. Toggle to Raw mode (Cmd+/)
  3. Toggle back to Rich mode
  4. Check console for validation logs
  5. Verify all content is preserved exactly