Copyright | Copyright (c) 2021-2022 Travis Cardwell |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
The type modules are generally imported qualified, so the types are re-exported by this module for convenience.
Synopsis
- data CodeLanguage
- data SourceFormat
- data SourceLine
- data TargetFormat
Documentation
data CodeLanguage Source #
Source code language
This string is used for syntax highlighting of source code.
When using Pandoc Markdown, run the following command to see a list of supported languages:
$ pandoc --list-highlight-languages
When using GitHub Flavored Markdown, check the following file for supported languages:
https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
Since: 0.0.1.0
Instances
data SourceFormat Source #
Source format
This sum type defines the supported source formats.
Since: 0.0.1.0
Instances
data SourceLine Source #
Parsed source line
Since: 0.0.1.0
Instances
Show SourceLine Source # | |
Defined in LiterateX.Types.SourceLine showsPrec :: Int -> SourceLine -> ShowS # show :: SourceLine -> String # showList :: [SourceLine] -> ShowS # |
data TargetFormat Source #
Target format
This sum type defines the supported target formats.
Since: 0.0.1.0