It would be useful to support lightweight text styling directly in Markdown without falling back to HTML.
Proposed syntax:
[text]{color=#ff00ff | font=Poppins}
Examples:
Hello [world]{color=#ff00ff}
[Important]{color=red | weight=bold}
[Code]{font=monospace | bg=#f5f5f5}
Why this helps:
- Keeps Markdown clean and readable
- Avoids inline HTML
- Easy to extend with more properties later
- Simple to parse and implement
Supported properties (initial):
color, bg
font, size
weight, style
This could be implemented as an optional plugin that converts the syntax into a <span style="..."> under the hood.
Happy to help with implementation if this direction makes sense.
It would be useful to support lightweight text styling directly in Markdown without falling back to HTML.
Proposed syntax:
Examples:
Why this helps:
Supported properties (initial):
color,bgfont,sizeweight,styleThis could be implemented as an optional plugin that converts the syntax into a
<span style="...">under the hood.Happy to help with implementation if this direction makes sense.