Static preview. Server-backed interactions are available only in a local checkout.

Carve Facade Demo

The Carve facade is ideal for inline rendering and quick one-liners.

Basic Usage

{!! Carve::toHtml('/emphasis/ and *strong*') !!}

Result:

emphasis and strong

Inline Examples

Carve Input Rendered Output
*strong text*

strong text

_emphasized text_

emphasized text

`inline code`

inline code

[link](https://github.com/markup-carve/carve)
H{,2,}O

H2O

E=mc{^2^}

E=mc2

{=highlighted=}

highlighted

{-deleted-} {+inserted+}

deleted inserted

Plain Text

{{ Carve::toText('# Hello *World*') }}

Result: Hello World

With Converter Profile

Pass a converter name as the second argument to use a different profile:

{!! Carve::toHtml($content, 'user_content') !!}

See Safe Mode Demo for XSS protection examples.