The markdown
field type stores markdown formatted text.
// streams/example.json
"fields": {
"content": {
"type": "markdown"
}
}
{
"content": "An **example** string."
}
Basic value access displays the unparsed value:
@verbatim// Basic access
{{ $entry->content }}
@endverbatim
To get anything out of your stored value you will need to expand it.
@verbatim// Parsed value
{{ $entry->content()->parse() }}
// Parsed and rendered value
{{ $entry->content()->render($payload) }}
@endverbatim
@todo Generate methods from @docs
@todo Generate config options from class::configuration
A blank TALL-stack Laravel project with Streams.
The fundamental features and utilities offered by the Streams platform.
A universal and extensible RESTful API for Streams.
Extensible, user-friendly, and performant control panel, components, and services.
Dev tooling for Laravel Streams.