markdown-no-artificial-line-wraps
द्वारा prisma
मार्कडाउन लिखता और संपादित करता है बिना किसी निश्चित कॉलम (जैसे 72 या 80) पर मैनुअल हार्ड लाइन ब्रेक डाले। GitHub, डॉक्स साइट्स और एडिटर प्रोज़ को सॉफ्ट-रैप करते हैं;…
npx skills add https://github.com/prisma/prisma-next --skill markdown-no-artificial-line-wrapsMarkdown: no artificial line wraps
Instructions
-
Prose paragraphs — Keep each paragraph as one line (or join wrapped lines into one) so the renderer can wrap in the viewer. Do not break lines mid-sentence to stay under ~80 characters.
-
When hard newlines are correct
- Lists: one line per list item is fine; keep item text on one line unless the item is genuinely multiple paragraphs.
- Headings: single line.
- Fenced code blocks: preserve author intent; do not reflow code to 80 cols.
- Tables, block quotes, HTML: follow normal Markdown rules; table rows may be long.
- Poetry / intentional line breaks: keep explicit breaks where semantics require them.
-
Links and emphasis — Prefer not splitting a paragraph so that a
[text](url)link is alone on a continuation line in a way that obscures reading; the whole paragraph can be one line. -
Rationale — GitHub and most Markdown renderers wrap to the viewport. Fixed-width breaks in source only help in raw terminals; they harm
git diffand merge conflict resolution.
Don’t
- Reformat existing Markdown by hard-wrapping every paragraph to 80 columns unless the user explicitly asks for that style in that file.
- Apply this rule to non-Markdown formats (e.g.
.tscomment blocks) unless the user asks for Markdown-style prose there.