BlogLiterately-0.5.4.1: A tool for posting Haskelly articles to blogs

MaintainerBrent Yorgey <byorgey@gmail.com>
Safe HaskellSafe-Inferred

Text.BlogLiterately.Block

Description

Utilities for working with code blocks.

Synopsis

Documentation

unTag :: String -> (Maybe String, String)Source

Given a block, if begins with a tag in square brackets, strip off the tag and return a pair consisting of the tag and de-tagged block. Otherwise, return Nothing and the unchanged block.