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!