pandoc-stylefrommeta 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+9/−4 lines, 2 files
Files
- pandoc-stylefrommeta.cabal +3/−4
- styleFromMeta.hs +6/−0
pandoc-stylefrommeta.cabal view
@@ -1,10 +1,9 @@ name: pandoc-stylefrommeta-version: 0.2.0.0+version: 0.2.0.1 synopsis: Pandoc filter to customize links, images and paragraphs description: Pandoc filter to customize links, images and paragraphs- (with restrictions) in HTML and LaTeX formats. Styles are read from the- metadata of the document: they may reside inside the document or in a- separate YAML file.+ (with restrictions). Styles are read from the metadata of the document:+ they may reside inside the document or in a separate YAML file. homepage: http://github.com/lyokha/styleFromMeta license: BSD3 license-file: LICENSE
styleFromMeta.hs view
@@ -21,13 +21,19 @@ #define MBPLAIN Para #endif +#if MIN_TOOL_VERSION_ghc(7,10,1) pattern Style :: String -> Inline+#endif pattern Style x <- Math InlineMath x +#if MIN_TOOL_VERSION_ghc(7,10,1) pattern Subst :: String -> Inline+#endif pattern Subst x = Math InlineMath x +#if MIN_TOOL_VERSION_ghc(7,10,1) pattern SubstVerbatim :: String -> Inline+#endif pattern SubstVerbatim x <- Math DisplayMath x pattern Alt :: [Inline] -> [Inline]