ows/commonmark-sup-sub-extensions
Add superscript and subscript support to your CommonMark markdown with this lightweight PHP extension. It registers ^text^ and text style syntax so you can render scientific notation, footnotes, and chemical formulas cleanly in Laravel or any CommonMark-powered app.
ows/commonmark-sup-sub-extensions adds superscript and subscript formatting to the league/commonmark parser. Write ^superscript^ or ~subscript~ in your Markdown and get clean <sup> and <sub> HTML output—ideal for mathematical notation, chemical formulas, footnotes, and technical documentation.
The extension integrates seamlessly with existing CommonMark environments, requiring only a few lines to register.
^superscript^ and ~subscript~ syntax<sup> and <sub> HTML tagsleague/commonmarkHow can I help you explore Laravel packages today?