KevID / flarum-pipetables

Active markdown tables for Flarum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flarum-pipetables

MIT License Latest Stable Version Latest Stable Version Issues

A Flarum extension. Active markdown tables.

Features

  • respect markdown syntax
  • unlimited lines and columns
  • use the custom colors of your theme
  • responsive design

Example

Flarum markdown tables

Installation

Use Bazaar or install manually with composer:

composer require kevid/flarum-pipetables

Updating

composer update kevid/flarum-pipetables
php flarum cache:clear

Configuration

Install then go to the admin panel and enable extension. That's all !

Style

In admin, add this custom CSS:

Solid table border

.Post-body table {
    box-shadow: 0px 0px 0px 1px @primary-color;
    }

Without table border

.Post-body table {
    width: 100%;
    margin: auto;
    box-shadow: none;
    }

Markdown Tables Generator

https://www.tablesgenerator.com/markdown_tables

About

Active markdown tables for Flarum.

License:MIT No Attribution


Languages

Language:CSS 47.3%Language:JavaScript 30.3%Language:PHP 22.3%