EmbersTextAPI
A text-rendering API used by other mods.
This page exercises every text effect, every Starlight built-in component, and the custom ember components. Use it as a styling test surface and as a reference when authoring new docs.
Plain paragraph with bold text, italic text, bold italic, strikethrough, inline code, and a link to the homepage.
Keyboard combination: press Ctrl+Shift+P to open the command palette.
A custom highlighted term sits inline without breaking the flow. Useful for emphasizing a single phrase like the EmbersTextAPI.
Footnote demo1.
A standard paragraph of body text. Manrope renders here at 16px with 1.65 line-height. Long-form prose should remain comfortable to read for several minutes; the cream-on-deep-brown contrast aims for a relaxed reading session by firelight rather than a clinical datasheet.
A blockquote with a single line of attribution.
A multi-line blockquote that spans more than one sentence to demonstrate how the left-border, italic body, and rounded right corners hold up across line wraps. The accent color reinforces the warm palette without competing with the surrounding body text.
— Anonymous
Unordered:
Ordered:
Mixed:
Task list (GitHub-flavored):
| Token | Value | Where used |
|---|---|---|
--ember-accent | #E8804A / #B8472E | Links, buttons, focus |
--radius-lg | 14px | Cards, raised surfaces, codeblocks |
--motion-base | 240ms | Buttons, tab indicators |
Aligned columns:
| Left aligned | Centered | Right aligned |
|---|---|---|
| Maroon | Red | Orange |
| Cream | Amber | Gold |
Inside an aside:
A plain fenced block:
const flame = { color: 'ember', radius: 14 };With a filename:
export interface Ember { size: 'sm' | 'md' | 'lg'; ariaLabel?: string;}
export function ignite(ember: Ember): string { return `Ember of size ${ember.size}`;}With line highlights {2,4-6}:
export const tokens = { accent: '#E8804A', radius: { sm: 6, md: 12, lg: 14 }, motion: { fast: 160, base: 240, },};With diff syntax (ins / del):
const config = { background: '#000', accent: '#fff', background: 'var(--ember-bg-base)', accent: 'var(--ember-accent)',};Terminal example:
npm install @fontsource/manrope @fontsource/jetbrains-mononpm run devA long line that wraps:
const description = "This is a deliberately long single line of code that should wrap inside the code block frame to demonstrate how Expressive Code handles overflow without horizontal scroll.";The custom <Hearth> component is a warmer cousin to the four standard asides. Use it for editorial context — motivation, background, personal notes — not for strict semantic warnings.
EmbersTextAPI
A text-rendering API used by other mods.
Orbital Railgun
Spelunkery Plus
LogFilter
LootLog
dependencies { implementation 'dev.tysontheember:embers-text-api:1.0.0'}<dependency> <groupId>dev.tysontheember</groupId> <artifactId>embers-text-api</artifactId> <version>1.0.0</version></dependency>libraryDependencies += "dev.tysontheember" %% "embers-text-api" % "1.0.0"Install the dependency.
npm install @fontsource/manropeRegister it in astro.config.mjs under customCss.
Reference the font via var(--font-sans) in your stylesheet.
Run npm run dev to verify.
A small grid of Starlight built-in icons, recolored to the ember accent through global CSS:
Below this paragraph is a horizontal rule rendered as a soft fade.
And another paragraph after the rule.
An image with a caption (uses the site favicon as test content):
Figure 1 — the site favicon.
A placeholder iframe with rounded corners (uses about:blank so no external request is made):
End of style guide.
This is the footnote body. Backlink should appear at the end. ↩