Skip to content

Style Guide

This page is a grab-bag of examples you can copy/paste when writing docs. Most sections show:

  1. The Markdown/MDX you type
  2. The rendered result
## Heading 2
### Heading 3
#### Heading 4
**Bold**, _italic_, and `inline code`.
[Internal link](/getting-started/overview/)
[External link](https://starlight.astro.build/)

Bold, italic, and inline code.

Internal link External link

- Unordered item
- Another item
1. Ordered item
2. Another item
- [x] Completed task
- [ ] Incomplete task
  • Unordered item
  • Another item
  1. Ordered item
  2. Another item
  • Completed task
  • Incomplete task
> A blockquote is useful for short callouts or quoting text.

A blockquote is useful for short callouts or quoting text.

:::note
Use notes for extra context.
:::
:::tip
Use tips for helpful shortcuts.
:::
:::caution
Use caution when a mistake could cause problems.
:::
:::danger
Use danger for high-risk actions.
:::
| Column | Type | Notes |
|--------|------|-------|
| `id` | UUID | Primary key |
| `name` | text | Display name |
| `ts` | time | Server time |
ColumnTypeNotes
idUUIDPrimary key
nametextDisplay name
tstimeServer time
Terminal window
# List files
ls -la
# Run the dev server
npm run dev
Terminal window
# List files
Get-ChildItem -Force
# Search text
rg -n "Platform Services" src
{
"service": "m2",
"enabled": true
}
service: m2
enabled: true
oldValue: false
oldValue: true
┌──────────────┐ ┌──────────────┐
│ Frontend │ --> │ Backend │
└──────────────┘ └──────────────┘
| |
v v
┌────────┐ ┌────────┐
│ Cache │ │ DB │
└────────┘ └────────┘
import ilsLogo from '../../../assets/ils-logo.webp';
<img src={ilsLogo} alt="ILS logo" width="180" />
ILS logo
![Alt text](/images/your-image.png)

A Card

Cards are great for landing pages and quick navigation.

Get Started

Technical Docs

Terminal window
npm run dev
  1. Open the page you want to edit in src/content/docs/....
  2. Write content in Markdown.
  3. Use callouts, tables, and code blocks as needed.
  • Directorysrc/
    • Directorycontent/
      • Directorydocs/
        • Directorygetting-started/
          • overview.md
    • Directorystyles/
      • custom.css
  • astro.config.mjs

Badges: Beta Deprecated