withcandour / statamic-markdown-table
Add markdown content to your statamic table cells
Installs: 1 566
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Language:Vue
Type:statamic-addon
This package is auto-updated.
Last update: 2024-12-21 04:45:42 UTC
README
Adds more functionality to your Statamic tables by letting you use a markdown field to add content.
Installation
Install via composer:
composer require withcandour/statamic-markdown-table
Then publish the publishables from the service provider:
php artisan vendor:publish --provider="WithCandour\MarkdownTable\ServiceProvider"
Usage
Blueprints
You may drop a markdown table fieldtype into any new or existing blueprint by selecting it from the fieldtype list. You will have all the markdown config options available to you so you may control how the markdown gets parsed before the table cells are added to your view.
Templating
The markdown table fieldtype will produce data in exactly the same way as the table fieldtype so you may either use the table
modifier or use the more verbose option of looping over the cells.
Documentation on templating with the table fieldtype can be found in the Statamic docs