Skip to content

docs: remove line-length wrapping from Markdown - #27

Merged
DecisionNerd merged 1 commit into
stagingfrom
feature/remove-markdown-line-wraps
Jul 14, 2026
Merged

docs: remove line-length wrapping from Markdown#27
DecisionNerd merged 1 commit into
stagingfrom
feature/remove-markdown-line-wraps

Conversation

@DecisionNerd

@DecisionNerd DecisionNerd commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove column-width prose wrapping from all 37 tracked Markdown files
  • keep each prose paragraph and list item on one logical source line
  • normalize multiline LLM guidance comments without flattening structural question lists
  • add deterministic Prettier configuration with proseWrap: never
  • add Markdown format/check scripts and run the check as part of the site build
  • exclude docs/index.md from Prettier because it cannot safely parse Docmd container directives; the existing rendered-break guard validates that page

Verification

  • npm run check:markdown
  • cargo fmt --check
  • cargo test (23 passed)
  • cargo clippy --all-targets -- -D warnings
  • npm run build (16 pages; no unintended rendered line breaks)
  • word-level diff confirms no prose wording changes; only reflow and Markdown table-delimiter formatting
  • git diff --check

Note

Remove line-length wrapping from Markdown files and enforce formatting via Prettier

  • Adds .prettierrc.json with proseWrap: "never" and a scripts/format-markdown-comments.mjs script to de-wrap HTML comment blocks in tracked Markdown files.
  • Updates package.json with format:markdown and check:markdown scripts, and gates npm run build on both passing.
  • Reflowed all Markdown files across templates/, assets/, .agents/, and the project root to remove hard line breaks, with no content changes.
  • Behavioral Change: npm run build now fails if any tracked Markdown file is not Prettier-formatted or has wrapped HTML comment blocks.

Macroscope summarized 2b389a3.

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docslime Ready Ready Preview, Comment Jul 14, 2026 6:45pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 76fde884-3efc-4f2b-ab78-388f15bb2ae0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/remove-markdown-line-wraps

Comment @coderabbitai help to get the list of available commands.

@DecisionNerd
DecisionNerd merged commit 9183a5a into staging Jul 14, 2026
14 checks passed
@DecisionNerd
DecisionNerd deleted the feature/remove-markdown-line-wraps branch July 14, 2026 20:21
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.

1 participant