On this page ▾
Kitchen sink
Each section shows one feature with its common options. The Components page documents every attribute.
Text
Inline formatting
Plain text, bold, italic, inline code, strikethrough and a UI label like Record. A line with a site link, an anchor link, an external link and keyword links such as Angular.
Lists
- Unordered item
- Another item with
code- Nested item
- First step
- Second step
- Third step
Tables
| Column | Type | Notes |
|---|---|---|
name |
string |
Short text. |
count |
number |
Right after the name. |
active |
boolean |
A longer note that wraps on small screens to check the cell layout. |
Blockquote
A quoted line for the rare case a page needs one.
Headings with extras
A fourth level heading
Headings from #### down get anchors but don't appear in "On this page".
Heading with a badge Beta
The badge is left out of the anchor, so this heading links as #heading-with-a-badge.
Heading with code
Code
Plain fence
// src/app/app.config.ts
import {ApplicationConfig} from '@angular/core';
export const appConfig: ApplicationConfig = {
providers: [],
};
Line highlights
// src/main.ts
import {bootstrapApplication} from '@angular/platform-browser';
import {App} from './app/app';
import {appConfig} from './app/app.config';
bootstrapApplication(App, appConfig).then(() => {
if (typeof ngDevMode === 'undefined' || ngDevMode) {
return import('./dev-tools');
}
return undefined;
});
Code group
pnpm create ngmd@latest my-docsnpm create ngmd@latest my-docsyarn create ngmd my-docsbun create ngmd my-docsFile import
/**
* NgMd site configuration.
*
* Edit this file to customise navigation, site metadata, and external links.
* Sidebar, command palette, breadcrumb, and header all read from here.
*/
import type {BadgeVariant} from './types/badge.ts';
export interface NavItem {
label: string;
href: string;Other languages
{
"mcpServers": {
"docs": {"command": "npx", "args": ["my-docs-mcp"]}
}
}
<button type="button" aria-label="Open search">Open</button>
:root {
--accent: #d946ef;
}
Callouts
code and a link.
Callouts are never adjacent on real pages. The text between them here keeps that rule.
Text between callouts.
Text between callouts.
Text between callouts.
Alerts
Text between alerts.
Text between alerts.
Text between alerts.
Text between alerts.
Badges
Cards
Three columns with icons
code and no link.
Two columns with images
Every icon
Workflow
pnpm create ngmd@latest my-docs.
src/content.
pnpm build. The link guards check every link.
Tabs
Accordion
Media
Image
Say hi to my cats Angular and Excel 👋