Menu

Carve: a markup language with a native PHP engine and Laravel, Symfony and WordPress integration

#php#redditr#fig#carve#markup
Reading 0:00
15s threshold

Hey folks. I have been building Carve , a modern lightweight markup language for content that outgrows Markdown (and Djot). For humans and agents working on the same docs.

After many months of specs and coding, it should finally be stable enough now.

PHP 8.2+, zero runtime dependencies, PHPStan level 9.

composer require markup-carve/carve-php

What it looks like

/italic/ *bold* _underline_ =highlight= {#fig-sun} ![A sunset](sun.jpg) ^ Figure #: A sunset See </#fig-sun> for the colors.

Unlike Markdown, *text* is bold and /text/ is italic. The figure gets its number, and the reference becomes a link reading "Figure 1".

Tables with merged cells and captions, footnotes, admonitions and definition lists are part of the core language.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.