mmark-ext-0.1.0.0: Commonly useful extensions for MMark markdown processor

Copyright© 2018 Mark Karpov
LicenseBSD 3 clause
MaintainerMark Karpov <markkarpov92@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.MMark.Extension.Skylighting

Description

Use the Skylighting library to highlight code snippets.

Synopsis

Documentation

skylighting Source #

Arguments

:: FormatOptions

Skylighting formatting options

-> Extension 

Use the skylighting package to render code blocks with info strings that result in a successful lookup from defaultSyntaxMap.

The resulting markup is wrapped with spans as described in the docs for formatHtmlInline.