Skip to content

writing markdown

spacecake supports GitHub-flavoured markdown with a visual editor that renders content as you type.

write code blocks with syntax highlighting:

def hello_world():
print("hello from spacecake!")

create execution plans with checklists:

- [ ] set up database migrations
- [ ] implement user authentication
- [ ] write integration tests

embed Mermaid diagrams for system architecture:

graph TD
A[User Input] --> B[Validate]
B --> C[Process]
C --> D[Output]

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