ReplaceUmlaut-0.1.5.3: converting text to properly encoded german umlauts
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lib.OneMDfile

Synopsis

Documentation

procMd1 :: Bool -> [Text] -> Path Abs File -> ErrIO Bool Source #

just for marking md files mdFile :: TypedFile5 Text Markdown mdExtension :: Extension mdExtension = Extension "md" :: Extension

filetype to read text in lines

replace umlaut in a markdown file and report if any change it is known that the file is german text and should be processed conversion unless it is an permitted group in a file with extension txt the original file is renamed to bak and the corrected version written to the original filename except when debug flag is set then the new file is written to NEW and the original file is not changed debug true gives new file returns False if something has changed