Skip to content

tableau-tables/tableau-marked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended Table Syntax for Markdown

Tableau Tables gives you way more control over the tables you create in Markdown documents. tableau-marked is the version of Tableau for the Marked Markdown processor.

Headers

  • Headerless tables
  • Multiline headers
  • Multiple separate headers
  • Headers in columns and rows
  • Captions

Layout

  • Layout uses CSS styles and not inline attributes (making it easier to change the style of a whole document)
  • Per cell alignment and CSS classes
  • Default attributes, both down columns and across rows
  • Table-wide classes
  • Row and column span
  • Continuation lines

Here are some samples.

Installation

  1. Install the extension:

    $  yarn add -S tableau-marked       (npm i -S tableau-marked)
  2. Tell Marked to use it:

    const marked  = require("marked")
    const tableau = require("tableau-marked") 
    marked.use(tableau)
    // ...
    marked(your_document)

Writing Tables Using Tableau Tables

Pop on over to the documentation site.

About

Tableau tables plugin for Marked

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published