diff --git a/latex-formulae-hakyll.cabal b/latex-formulae-hakyll.cabal
--- a/latex-formulae-hakyll.cabal
+++ b/latex-formulae-hakyll.cabal
@@ -2,7 +2,7 @@
 -- further documentation, see http://haskell.org/cabal/users-guide/
 
 name:                latex-formulae-hakyll
-version:             0.1.0.0
+version:             0.2.0.0
 synopsis:            Use actual LaTeX to render formulae inside Hakyll pages
 description:         This library provides functions to render all math formulae inside Pandoc-processed Hakyll pages using
                      real LaTeX.
diff --git a/src/Hakyll/Contrib/LaTeX.hs b/src/Hakyll/Contrib/LaTeX.hs
--- a/src/Hakyll/Contrib/LaTeX.hs
+++ b/src/Hakyll/Contrib/LaTeX.hs
@@ -35,13 +35,13 @@
 -- >           compile $ pandocCompilerWithTransformM (renderFormulae defaultPandocFormulaOptions)
 --
 initFormulaCompilerDataURI :: CacheSize -> EnvironmentOptions
-                           -> IO (PandocFormulaOptions -> Item Pandoc -> Compiler (Item Pandoc))
+                           -> IO (PandocFormulaOptions -> Pandoc -> Compiler Pandoc)
 initFormulaCompilerDataURI cs eo = do
     mImageForFormula <- curry <$> memoizeLru (Just cs) (uncurry drawFormula)
     let eachFormula x y = do
           putStrLn $ "    formula (" ++ environment x ++ ") \"" ++ equationPreview y ++ "\""
           mImageForFormula x y
-    return $ \fo -> withItemBody $ unsafeCompiler . convertAllFormulaeDataURIWith eachFormula fo
+    return $ \fo -> unsafeCompiler . convertAllFormulaeDataURIWith eachFormula fo
   where
     drawFormula x y = do
       putStrLn "      drawing..."
@@ -53,13 +53,13 @@
 --
 compileFormulaeDataURI :: EnvironmentOptions
                        -> PandocFormulaOptions
-                       -> Item Pandoc -> Compiler (Item Pandoc)
+                       -> Pandoc -> Compiler Pandoc
 compileFormulaeDataURI eo po =
     let eachFormula x y = do
           putStrLn $ "    formula (" ++ environment x ++ ") \"" ++ equationPreview y ++ "\""
           putStrLn   "      drawing..."
           imageForFormula eo x y
-    in withItemBody $ unsafeCompiler . convertAllFormulaeDataURIWith eachFormula po
+    in unsafeCompiler . convertAllFormulaeDataURIWith eachFormula po
 
 equationPreview :: String -> String
 equationPreview (dropWhile isSpace -> x)
