Skip to content

Replace HTML definition lists with Markdown syntax#62

Merged
lollipop-onl merged 4 commits into
mainfrom
claude/fix-project-flag-docs-ZPGJR
Mar 9, 2026
Merged

Replace HTML definition lists with Markdown syntax#62
lollipop-onl merged 4 commits into
mainfrom
claude/fix-project-flag-docs-ZPGJR

Conversation

@lollipop-onl
Copy link
Copy Markdown
Collaborator

Summary

Converts all HTML <dl> definition list markup to Markdown definition list syntax across documentation files. This change improves maintainability and consistency by using semantic Markdown instead of raw HTML.

The conversion includes:

  • Replacing <dl>, <dt>, and <dd> tags with Markdown definition list syntax (term followed by : definition)
  • Converting inline <code> tags to backticks for consistency
  • Adding remark-definition-list plugin to Astro config to properly parse and render the new Markdown syntax

Files updated:

  • environment-variables.mdx: 6 environment variable definitions
  • pr-lifecycle-sync.mdx: 5 customization options
  • authentication.mdx: 4 authentication method comparisons
  • release-notify-issues.mdx: 3 customization options
  • ai-agent.mdx: 2 documentation endpoint references

Test plan

Verify that definition lists render correctly in the documentation by checking that:

  1. Terms and definitions display with proper formatting
  2. The Markdown definition list syntax is properly parsed by the remark plugin
  3. All converted sections maintain their original meaning and structure

https://claude.ai/code/session_0163JhpTd1Sojez8yK7ARqnW

claude added 3 commits March 9, 2026 01:50
SmartyPants (remark-smartypants) converts `--` to `—` (em dash) inside
`<code>` tags within the `<dl>` HTML block on the environment variables
page. Use JSX expressions (`{'--flag'}`) to bypass the transformation
and render flags like `--project`, `--repo`, `--client-id`, and
`--client-secret` correctly.

https://claude.ai/code/session_0163JhpTd1Sojez8yK7ARqnW
Replace the raw HTML `<dl>` block in environment-variables.mdx with
Markdown definition list syntax (`: ` prefix). Add remark-definition-list
plugin so Astro/Starlight renders them as `<dl>`/`<dt>`/`<dd>`.

This fixes `--project`, `--repo`, `--client-id`, `--client-secret`, and
`bee auth login --method oauth` being rendered with an em-dash (`—`)
instead of double dashes due to SmartyPants typography conversion
inside raw HTML blocks.

https://claude.ai/code/session_0163JhpTd1Sojez8yK7ARqnW
Convert all remaining <dl>/<dt>/<dd> HTML blocks in docs to Markdown
definition list syntax using the remark-definition-list plugin added
in the previous commit.

Files updated:
- integrations/ai-agent.mdx
- guides/authentication.mdx (inside <Card> components)
- recipes/release-notify-issues.mdx
- recipes/pr-lifecycle-sync.mdx

https://claude.ai/code/session_0163JhpTd1Sojez8yK7ARqnW
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 91.14% 1720 / 1887
🔵 Statements 91.27% 1788 / 1959
🔵 Functions 89.83% 371 / 413
🔵 Branches 74.37% 778 / 1046
File CoverageNo changed files found.
Generated in workflow #310 for commit dbb6698 by the Vitest Coverage Report Action

Add guidance to the Documentation site section about using Markdown
definition list syntax (term + `: description`) instead of raw
<dl>/<dt>/<dd> HTML, including a note that it works inside JSX
components like <Card>.

https://claude.ai/code/session_0163JhpTd1Sojez8yK7ARqnW
@lollipop-onl lollipop-onl self-assigned this Mar 9, 2026
@lollipop-onl lollipop-onl merged commit 0bd368b into main Mar 9, 2026
7 checks passed
@lollipop-onl lollipop-onl deleted the claude/fix-project-flag-docs-ZPGJR branch March 9, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants