literatex-0.3.0.0: transform literate source code to Markdown
CopyrightCopyright (c) 2021-2023 Travis Cardwell
LicenseMIT
Safe HaskellSafe-Inferred
LanguageHaskell2010

LiterateX.Renderer

Contents

Description

This module implements the target renderer.

Synopsis

Types

data Options Source #

Renderer options determine how output is rendered

Since: 0.0.1.0

Constructors

Options 

Fields

Instances

Instances details
Show Options Source # 
Instance details

Defined in LiterateX.Renderer

API

defaultOptions :: Options Source #

Default options

Since: 0.0.1.0

defaultOptionsFor :: CodeLanguage -> Options Source #

Default options for the specified code language

Since: 0.0.1.0

render :: forall m. Monad m => Options -> ConduitT (Int, SourceLine) Text m () Source #

Create a Conduit transformer that renders using the specified options

The transformer consumes SourceLine values annotated with the line number and produces lines of output.

Since: 0.0.1.0