withcandour/statamic-markdown-table

There is no license information available for the latest version (1.0.0-beta) of this package.

Add markdown content to your statamic table cells

Installs: 1 542

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Language:Vue

Type:statamic-addon

1.0.0-beta 2021-04-20 20:23 UTC

This package is auto-updated.

Last update: 2024-11-21 04:32:52 UTC


README

Statamic 3.0+

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