-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | This module allows tokens produced by skylighting-core to be rendered
--   as ConTeXt commands.
@package skylighting-format-context
@version 0.1.0.2

module Skylighting.Format.ConTeXt

-- | Formats tokens as ConTeXt using custom commands inside a
--   <tt>type{}</tt>. A <tt>KeywordTok</tt> is rendered using
--   <tt>\KeywordTok{..}</tt>, and so on.
formatConTeXtInline :: FormatOptions -> [SourceLine] -> Text

-- | Format tokens as a ConTeXt <tt>highlighting</tt> typing environment.
--   The <tt>highlighting</tt> environemnt is defined by the macros
--   produced by <a>styleToConTeXt</a>; it is a <tt>typing</tt> environment
--   with default escaping enabled, i.e., <tt>/</tt> is the escape
--   character.
formatConTeXtBlock :: FormatOptions -> [SourceLine] -> Text

-- | Converts a <a>Style</a> to a set of ConTeXt command definitions, which
--   should be placed in the document's preamble.
styleToConTeXt :: Style -> Text
