HTMell-0.1.0.0: Minimal filesystem powered markdown content management system
Copyright(c) 2021-2022 Mirko Westermeier
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

HTMell.Content.Markdown

Description

Loading HTMell content from markdown files

Synopsis

What is markdown content?

data MarkdownContent #

A markdown content value consists of metadata and markdown data. The metadata is read as HTMell.Content.Metadata.Frontmatter, the markdown is just the source after the frontmatter data and will be translated to HTML via CMark when calling toHTML.

Constructors

MarkdownContent 

Obtaining markdown content

readMarkdown :: String -> MarkdownContent #

Build a MarkdownContent value from a source String.