How to write notes
Add a new note
Section titled “Add a new note”-
Create an
.mdxfile insidesrc/content/docs/programming/orsrc/content/docs/studies/. Subfolders become sidebar groups. -
Add the frontmatter:
---title: My notedescription: One line summary (used in search and SEO).tags: [topic, subtopic]createdAt: 2026-11-03--- -
Run
pnpm devand open the page.
Code blocks
Section titled “Code blocks”| Feature | Syntax |
|---|---|
| File name | ```js title="file.js" |
| Highlight lines | ```js {1,4-6} |
| Inserted/deleted | ```js ins={2} del={1} |
| Highlight text | ```js "someText" |
| Line numbers | ```js showLineNumbers |
| Wrap long lines | ```js wrap |
const name = 'world';const greeting = `Hello, ${name}!`;console.log(greeting);Callouts
Section titled “Callouts”Available types: note, tip, caution, danger.