Note Styleguide

components typography design testing css

This styleguide demonstrates how all key Markdown/MDX features, Astro components, and prose styles render in a Note context. Use it to check typography, component appearance, and real-world content. For a full component reference, see the main styleguide .

Accordion

Collapsible Note Section

Perfect for organizing supplementary information in notes. This accordion contains:

  • Quick facts that don’t need to be immediately visible
  • Reference links and resources
  • Technical details or implementation notes
  • Optional reading materials

Great for keeping notes concise while providing depth when needed.

Usage in Notes

Use accordions in notes to:

  1. Hide lengthy technical details
  2. Organize optional context
  3. Provide expandable examples
  4. Keep the main content focused
<Accordion header="Details">Hidden content here...</Accordion>
Plain Accordion

This is a plain accordion with no background or border - it blends seamlessly into the content.

URL Cards & Embeds

Play

Callout Examples

Headings

Level 2 Heading

Level 3 Heading

Level 4 Heading

Level 5 Heading

Blockquotes with Citations

This is a basic blockquote without citation styling.

Design is not just what it looks like and feels like. Design is how it works.

Steve Jobs

The best way to find out if you can trust somebody is to trust them.

Ernest Hemingway - A Moveable Feast

Typography is the craft of endowing human language with a durable visual form.

Robert Bringhurst - The Elements of Typographic Style

Text Styles & Lists

Here’s some bold text, italic text, inline code, and a link .

  • Unordered list item
  • Another item with bold
  • Italic item
  • Code item
  • Link item
  1. Ordered list item
  2. Another item with bold
  3. Italic item
  4. Code item
  5. Link item

This is a blockquote. It should have a nice left border and italic styling.

// Code block example
const foo = 'bar';
console.log(foo);
Test Image

Here’s a paragraph with bold text, italic text, code, and a link . We can also have:

  • Lists with bold text
  • Lists with italic text
  • Lists with code
  • Lists with links

And blockquotes with bold text, italic text, code, and links .

Mermaid Diagrams

Flowchart

Yes

No

Start

Is it working?

Great!

Debug

Sequence Diagram

JohnBobAliceJohnBobAliceloop[Healthcheck]Rational thoughts prevail!Hello John, how are you?Fight against hypochondriaGreat!How about you?Jolly good!

Gantt Chart

2024-01-072024-01-142024-01-212024-01-282024-02-042024-02-112024-02-18A task Task in Another another task Another task SectionAnotherA Gantt Diagram

Class Diagram

Animal

+int age

+String gender

+isMammal()

+mate()

Duck

+String beakColor

+swim()

+quack()

Fish

-int sizeInFeet

-canEat()

Zebra

+bool is_wild

+run()

Table Example

NameRoleNotes
AliceDesignerLikes Figma
BobDeveloperTypescript fan
CarolWriterMarkdown wizard

Long-Form Content Example

The Art of Typography

Typography is the art and technique of arranging type to make written language legible, readable, and appealing when displayed. The arrangement of type involves selecting typefaces, point sizes, line lengths, line-spacing (leading), and letter-spacing (tracking), and adjusting the space between pairs of letters (kerning).

The term typography is also applied to the style, arrangement, and appearance of the letters, numbers, and symbols created by the process. Type design is a closely related craft, sometimes considered part of typography; most typographers do not design typefaces, and some type designers do not consider themselves typographers.


Back to Main Styleguide

copy / view as markdown