name: text-markup
description: 

[Index]

For package maintainers and hackage trustees

This library provides a data structure for associating arbitrary
metadata (&quot;markup&quot;) with subsequences of text. The motivation for
this library is to provide a tool for mapping text attributes to text
sequences in terminal applications where we may want to perform many
such mappings by searching text with regular expressions or using
parsers to do syntax highlighting.

The main interface to the library is through three functions:

For example,

Applying the same markup to adjacent regions results in a merge:
license_spdx: BSD-3-Clause
version: 0.1
spec_version: 1.0
download_url: http://hackage.haskell.org/package/text-markup-0.1/text-markup-0.1.tar.gz
home_url: 
            
              https://github.com/jtdaugherty/text-markup/
            
          
news_url: https://libraries.io/hackage/text-markup/versions.atom
date: 2016-09-05
about_resource: NONE
libraries_io_url: https://libraries.io/hackage/text-markup?number=0.1
vcs_tool: git
vcs_repository: https://github.com/jtdaugherty/text-markup
vcs_branch: master
