Skip to content

How to write notes

  1. Create an .mdx file inside src/content/docs/programming/ or src/content/docs/studies/. Subfolders become sidebar groups.

  2. Add the frontmatter:

    ---
    title: My note
    description: One line summary (used in search and SEO).
    tags: [topic, subtopic]
    createdAt: 2026-11-03
    ---
  3. Run pnpm dev and open the page.

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
example.ts
const name = 'world';
const greeting = `Hello, ${name}!`;
console.log(greeting);

Available types: note, tip, caution, danger.