Skip to content

Editor & Preview

Bokuchi provides a side-by-side editing experience where you write Markdown on the left and see the rendered result on the right.

Split view showing editor on the left and preview on the right
ModeDescriptionShortcut
Split ViewEditor + Preview side by sideCtrl+Shift+1
Editor OnlyFull-width editorCtrl+Shift+2
Preview OnlyFull-width previewCtrl+Shift+3

Press Ctrl+Shift+V to cycle through the three modes.

In split view, the editor and preview scroll together. When you scroll one panel, the other follows so you always see the corresponding content.

Checkboxes in the preview are clickable. When you click a checkbox, the corresponding - [ ] or - [x] in the editor is updated automatically.

Links in the preview are clickable. External links open in your system’s default browser.

Code blocks in the preview have syntax highlighting for over 190 programming languages. The language is detected from the label after the opening triple backticks.

When enabled in settings, math expressions are rendered in the preview. Use $...$ for inline math and $$...$$ for display math.

KaTeX math expressions rendered in the preview

When enabled in settings, ```mermaid fenced code blocks are rendered as diagrams (flowcharts, sequence diagrams, etc.) in the preview. Mermaid rendering adapts to your current theme.

Mermaid flowchart diagram rendered in the preview

The editor is powered by Monaco Editor (the same editor used in VS Code) and supports:

  • Syntax highlighting for Markdown
  • Line numbers — toggle on/off in settings
  • Word wrap — toggle on/off in settings
  • Minimap — a small overview of your document, toggle on/off
  • Whitespace display — show invisible characters