Created
September 19, 2014 00:51
-
-
Save pamolloy/b147f0c05321c6bf0ffc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
, Option "V" ["variable"] | |
(ReqArg | |
(\arg opt -> do | |
let (key,val) = case break (`elem` ":=") arg of | |
(k,_:v) -> (k,v) | |
(k,_) -> (k,"true") | |
return opt{ optVariables = (key,val) : optVariables opt }) | |
"KEY[:VALUE]") | |
"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://groups.google.com/d/topic/pandoc-discuss/r-t0hXKSMTM/discussion