pandoc-3.1.2: Conversion between markup formats
CopyrightCopyright (C) 2011-2023 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Stabilityalpha
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.SelfContained

Description

Functions for converting an HTML file into one that can be viewed offline, by incorporating linked images, CSS, and scripts into the HTML using data URIs.

Synopsis

Documentation

makeSelfContained :: PandocMonad m => Text -> m Text Source #

Convert HTML into self-contained HTML, incorporating images, scripts, and CSS using data: URIs.