mmark-ext-0.2.1.3: Commonly useful extensions for the MMark markdown processor
Copyright© 2018–present 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 :: Extension Source #

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

The resulting code block will be wrapped in a div with class "source-code". The following span classes can be used for styling: