Search documentation

Type to search.

Navigate · Enter to open · Esc to close

On this page

Use Markdown for prose, headings, lists, links, tables and fenced code. Choose MDX when a page needs reusable structure such as installation steps, topic cards or package-manager tabs.

Import into MDX

---
title: Install your project
---

import PackageInstall from "@chitrank2050/monoline-docs/components/PackageInstall.astro"

<PackageInstall id="install-project" name="your-package" />

Component names and paths match the public imports. The id identifies a group within the page; keep it unique.

Choose by documentation task

Authoring patterns
TaskComponents
Guide readers through a procedureSteps + Step
Offer related topicsCardGrid + Card or LinkCard
Show commands for multiple package managersPackageInstall or CodeGroup
Document structured settingsTable
Explain a project structureFileTree
Show example output with sourcePreview + CodeBlock

Compose a guide

  1. Write a Markdown page with a clear title and a single purpose.
  2. Add a component only when its structure helps readers complete the task.

  3. Preview the page, check its links and build production output.

Read Getting started for a complete procedure using these components in context.

Explore authoring tools

Static content and interactions

Astro components render as HTML. Native disclosures work without JavaScript; tabs and copy controls enhance the page through the shared script. React is optional for custom hydrated examples—see Writing pages.

Preview examples keep link activation and form submission on the current page when JavaScript is available. This protects the demonstration; ordinary links outside previews navigate normally.