packages feed

shakebook 0.3.0.0 → 0.3.0.1

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

shakebook.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 6dd459b8ff1cb6bdb53664e12a74d78489bd1ab15a6e8ec4a01524e702472a9b+-- hash: f81a7404b32b789b39558cf48d2e50ddc9bd75801d00397bc72ecafb45ddce2d  name:           shakebook-version:        0.3.0.0+version:        0.3.0.1 synopsis:       Shake-based technical documentation generator; HTML & PDF description:    Shakebook is a documentation generator aimed at covering all the bases for mathematical, technical and scientific diagrams and typesetting. Shakebook provides combinators for taking markdown files and combining them into documents, but allowing the user to control how. Shakebook provides general combinators for templating single pages, cofree comonads for representing tables of contents, and zipper comonads for representing pagers. category:       Web
src/Shakebook/Pandoc.hs view
@@ -81,7 +81,7 @@ replaceUnusableImages :: MonadThrow m => [String] -> (Text -> Inline) -> Pandoc -> m (Pandoc) replaceUnusableImages exts f = walkM handleImages where   handleImages i@(Image _ _ (src, _)) = do-    x <- parseRelFile (T.unpack src) >>= fileExtension+    x <- parseAbsFile (T.unpack src) >>= fileExtension     return $ if elem x exts then f src else i   handleImages x = return x