RetroFed Forum
Your home away from modern life.
Big Updates to Marksafe! A New Syntax for Rich Content with Enhanced Flexibility
Post Reply
AuthorMessage
sunmark programming.dev sunmark@programming.dev
Joined: 2025-03-22
Quote

Weโ€™ve just made Marksafe even more intuitive and concise with shorthand syntax and delimiter escaping!

โœ… New Shorthand Syntax โ€“ Write cleaner markup with:
๐Ÿ‘‰ [uli]item1;;item2;;item3[/uli] instead of [ul][li]item1[/li][li]item2[/li][li]item3[/li][/ul]
๐Ÿ‘‰ [bq]A blockquote example[/bq] instead of [blockquote]A blockquote example[/blockquote]

โœ… Delimiter Escaping โ€“ Need to use ;;, ,,, or other special characters inside content or attributes? Just escape them with \:
๐Ÿ‘‰ [a]href=https://example.com,,Click here to see \,,escaped commas[/a]

Marksafe keeps all the flexibility of HTML while staying lightweight and readableโ€”perfect for devs who need powerful, secure, and extensible rich text formatting.

๐Ÿ”— Check it out here: https://github.com/mksunny1/marksafe
๐Ÿ’ฌ Docs & API: https://github.com/mksunny1/marksafe/blob/main/docs/classes/Marksafe.md
๐Ÿ’– Support & Contribute: https://github.com/sponsors/mksunny1

Try it out and let me know what you think!

1   Original
Post Reply
Back to top