Skip to content

Excessive bolding #594

@mlanett

Description

@mlanett

Problem or motivation

AI-generated Markdown is full of heavy bold e.g. **this** and **that**

This makes markdown hard to read, both in raw and rendered format.
It is never necessary; the punctuation can be trimmed with no loss.

Proposed solution

I propose a rule forbidding bolds or excessive bolds, stripping it out, or at least converting to something less eyesore like single *.

However it might be a little tricky to detect robustly. Some code uses **, e.g. foo(**args) or /** comment */, and this is found in Markdowns. This could be fixed by relying on code fences and having a conservative approach to cleaning code-appearing text outside of code fences.

Alternatives considered

No response

Feature category

New lint rule

Example markdown

Contribution

  • I would be willing to submit a PR to implement this feature

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions