Docs/Quick answersTemplates and codeStart notes from templates, and run Python and R.Create or edit templatesOpen Templates in the sidebar and click Create template.Start a note from a templateChoose File › New from Template…, or press ⇧⌘N, and pick a template.Run code in a noteSet a code block to Python · runnable or R · runnable, then click Run cell.