Skip to content

weibeld/coltab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

coltab

Display your favourite RGB colours in HTML.

Image

Usage

Input

  1. A text file with Markdown-style headers and lists
  2. A custom CSS file for styling the output HTML

Output

An HTML file written to stdout.

Notes

  • For each list in the input file, coltab generates an HTML table with two columns:
    • Column 1: colours (<td class="color">)
    • Column 2: colour codes (<td class="code">)
  • Valid list item values in input file include:
    • RRGGBB
    • #RRGGBB
    • RGB
    • #RGB
  • The input file is expected to be in Pandoc Markdown format