pandoc-plantuml-diagrams-0.1.1.0: Render and insert PlantUML diagrams with Pandoc
Copyright(c) Jonas Weber 2015
LicenseISC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.PlantUML.Filter.FileNameGenerator

Description

This package does its best to avoid rerendering the same diagrams (as in, with the same source) if not neccessary. It uses a cryptographic hash (namely SHA1) to get a stable identifier for the contents.

Synopsis

Documentation

fileNameForSource :: DiagramSource -> ImageName Source #

Generates the Hash of a diagram source, and prefixes that.