writing markdown
spacecake supports GitHub-flavoured markdown with a visual editor that renders content as you type.
code blocks
Section titled “code blocks”write code blocks with syntax highlighting:
def hello_world(): print("hello from spacecake!")checklists
Section titled “checklists”create execution plans with checklists:
- [ ] set up database migrations- [ ] implement user authentication- [ ] write integration testsmermaid diagrams
Section titled “mermaid diagrams”embed Mermaid diagrams for system architecture:
graph TD A[User Input] --> B[Validate] B --> C[Process] C --> D[Output]rich mode vs source mode
Section titled “rich mode vs source mode”toggle between rich mode (WYSIWYG) and source mode using the view toggle button in the toolbar.
- rich mode: renders markdown visually as you type — headings, code blocks, diagrams, and checklists are all interactive
- source mode: shows the raw markdown with a live preview, useful for precise editing or debugging formatting issues