pandoc-filter-indent-0.3.3.0: Pandoc filter formatting Haskell code fragments using GHC lexer.
Safe HaskellNone
LanguageHaskell2010

Render.ColSpan

Description

Helper functions for taking a list of processed records, and returning the same list splitted into separate colspans.

Synopsis

Documentation

type TokensWithColSpan = ([(MyTok, Text)], Int, Align) Source #

A list of tokens to be put into a single colspan, Number of table columns in this colspan, and alignment option.

colspans :: [Processed] -> [[TokensWithColSpan]] Source #

Find colspan parameters

getAlignCol :: Processed -> Int Source #

Given a Processed record, extract number of table columns.