Code blocks and math
Cards aren't limited to text and pictures. The Card Editor has first-class support for code and mathematical notation — and both render exactly the same on your Mac and your iPhone.
Code blocks
Add a code block from the toolbar (click the code button, then click where you want it on the card), from the canvas right-click menu, or with Cmd + Option + C. Pick a language from the dropdown and your code gets syntax highlighting — over a dozen popular languages are supported.Code blocks are great for "what does this print?" drills, API signatures, config snippets, and one-card-per-function codebase tours.