git.iko.soy/typeable/pandoc
on master help sign in
Docx Writer: change dynamic style key
b784ce8Jesse Rosenthal
src/Text/Pandoc/Writers/Docx.hs+1−1
@@ -764,7 +764,7 @@ getUniqueId = liftIO $ (show . (+ 20) . hashUnique) `fmap` newUnique
764
764
765-- | Key for specifying user-defined docx styles.
765-- | Key for specifying user-defined docx styles.
766dynamicStyleKey :: String
766dynamicStyleKey :: String
767−dynamicStyleKey = "docx-style"
767+dynamicStyleKey = "custom-style"
768
768
769-- | Convert a Pandoc block element to OpenXML.
769-- | Convert a Pandoc block element to OpenXML.
770blockToOpenXML :: WriterOptions -> Block -> WS [Element]
770blockToOpenXML :: WriterOptions -> Block -> WS [Element]