ú΋»…éH      !"#$%&'()*+,-./0123456789:;<=>?@ABCDE F G  Safe-Inferred HIJKLMNOPQRINOPQR HIJKLMNOPQR Brent Yorgey <byorgey@gmail.com>NoneEWordPress can render LaTeX, but expects it in a special non-standard  format ($ latex foo$). The wpTeXify function formats LaTeX code ? using this format so that it can be processed by WordPress.  Brent Yorgey <byorgey@gmail.com> Safe-InferredBGiven a block, if begins with a tag in square brackets, strip off A the tag and return a pair consisting of the tag and de-tagged  block. Otherwise, return Nothing and the unchanged block.  Brent Yorgey <byorgey@gmail.com>None SA GhciLine is a  GhciInput paired with its corresponding  GhciOutput. T@An output from ghci is either a correct output, or an incorrect 8 (unexpected) output paired with the expected output. U*An input to ghci consists of an expression/command, possibly # paired with an expected output. BInformation about a running process: stdin, stdout, stderr, and a  handle. )Evaluate an expression using an external ghci process. AStart an external ghci process, run a computation with access to % it, and finally stop the process. Poor man'8s check to see whether we have a literate Haskell file. "Stop a ghci process by passing it :q and waiting for it to exit. /There is nothing magic about the magic string. Given the path to the .lhs$ source and its representation as a  Pandoc document, formatInlineGhci finds any [ghci] blocks  in it, runs them through ghci , and formats the results as an  interactive ghci session. ALines beginning in the first column of the block are interpreted C as inputs. Lines indented by one or more space are interpreted  as expected outputs". Consecutive indented lines are C interpreted as one multi-line expected output, with a number of ? spaces removed from the beginning of each line equal to the = number of spaces at the start of the first indented line. <If the output for a given input is the same as the expected E output (or if no expected output is given), the result is typeset D normally. If the actual and expected outputs differ, the actual E output is typeset first in red, then the expected output in blue. SVTWXUYZ[ \]^_`abcdef   SVTXWUYZ[ \]^_`abcdef Brent Yorgey <byorgey@gmail.com>None AStyle preferences are specified as a list of mappings from class ' attributes to CSS style attributes. %Four modes for highlighting Haskell. Do not highlight Haskell. Use highlighting-kate. !Use hscolour in conjunction with  an external CSS style sheet. $Use hscolour and inline the styles. ?Use hscolour to syntax highlight some Haskell code. The first : argument indicates whether the code is literate Haskell. 6Prepend literate Haskell markers to some source code. <A default style that produces something that looks like the  source listings on Hackage. 0Read style preferences in from a file using the Read instance  for  StylePrefs2, or return the default style if the file name is  empty. Take a String# of HTML produced by hscolour, and "bake" styles @ into it by replacing class attributes with appropriate style  attributes. Replace <br/> tags with newlines.  Transform a  CodeBlock into a RawHtml block, where B the content contains marked up Haskell (possibly with literate J markers), or marked up non-Haskell, if highlighting of non-Haskell has  been selected. :Perform syntax highlighting on an entire Pandoc document.      Brent Yorgey <byorgey@gmail.com>None4Configuration record (and command-line options) for BlogLiterately. Name of a style file Haskell highlighting mode Use highlighting-kate for  non-Haskell? Format LaTeX for WordPress? !Indicate how to format Math "%Automatically process ghci sessions? #Automatically upload images? $Categories for the post %Tags for the post &Blog-specific identifier  (e.g. for blogging software  handling multiple blogs) 'Blog xmlrpc URL (Blog user name )2Blog password (omit to be interactively prompted) * Post title + File to post ,ID of a post to update - Create a "page" instead of a post .Should the post be published? * (Otherwise it is uploaded as a draft.) /%Extension arguments, for use e.g. by  custom transforms 0(Command-line configuration for use with cmdargs.  !"#$%&'()*+,-./0 !"#$%&'()*+,-./0 !"#$%&'()*+,-./0 !"#$%&'()*+,-./0 Brent Yorgey <byorgey@gmail.com>None1&Transform a document by uploading any "local" images to the C server, and replacing their filenames with the URLs returned by E the server. Only upload any given image once (determined by file E name), even across runs: uploaded images and their associated URL 2 on the server is tracked in a special dotfile,  .BlogLiterately-uploaded-images. gKRead the list of previously uploaded images and their associated URLs from  a special dotfile (namely, .BlogLiterately-uploaded-images). h@Write out the list of uploaded images and their associated URLs ! to a special dotfile (namely, .BlogLiterately-uploaded-images). 2Upload a file using the metaWeblog.newMediaObject XML-RPC method  call. 3Prepare a file for upload. i1jgkh23123123i1jgkh23 Brent Yorgey <byorgey@gmail.com>None4APrepare a post for uploading by creating something of the proper . form to be an argument to an XML-RPC call. 52Given a name and a list of values, create a named "array" field 0 suitable for inclusion in an XML-RPC struct. 6EGiven a configuration and a formatted post, upload it to the server. 4 Post title  Post content List of categories  List of tags True = page, False = post 56456456456 Brent Yorgey <byorgey@gmail.com>None 7;A document transformation consists of two parts: an actual F transformation, expressed as a function over Pandoc documents, and E a condition specifying whether the transformation should actually  be applied. "The transformation itself takes a  configuration C as an argument. You may of course ignore it if you do not need 2 to know anything about the configuration. The --xtra (or -x) ; flag is also provided especially as a method of getting E information from the command-line to custom extensions. Arguments  passed via -x, on the command line are available from the /  field of the  configuration. *The transformation is then specified as a l IO m  m arrow, which is isomorphic to Pandoc -> IO Pandoc. If $ you have a pure function of type Pandoc -> Pandoc, wrap it in a  call to n to produce a l arrow. If you have a  function Pandoc -> IO Pandoc, wrap it in the l  constructor. AFor examples, see the implementations of the standard transforms  below. 9/A document transformation, which can depend on 2 BlogLiterately options and can have effects in  the IO monad. :3A condition under which to run the transformation. ;Run a 7 (if its condition is met). <Run a pipeline of 7s. =,Format embedded LaTeX for WordPress (if the wplatex flag is set). >Format embedded ghci sessions (if the ghci flag is set). ?3Upload embedded local images to the server (if the  uploadImages  flag is set). @,Perform syntax highlighting on code blocks. A8The standard set of transforms that are run by default:  =, >, ?, @. B<Center any images which occur in a paragraph by themselves. # Inline images are not affected. C=Transform a complete input document string to an HTML output 2 string, given a list of transformation passes. DTurn CRLF pairs into a single LF. This is necessary since  o is picky about line endings. 789:;<=>?@ABpCD789:;<=>?@ABCD789:;<=>?@ABCD 789:;<=>?@ABpCD  Brent Yorgey <byorgey@gmail.com>NoneE(The default BlogLiterately application. FLike E-, but with the ability to specify additional  7s which will be applied after the standard ones. GLike E, but with the ability to replace the  standard 7.s. Use this to implement custom interleaving C orders of the standard transforms and your own, to exclude some + or all of the standard transforms, etc. EFGqEFGEFGEFGq  Brent Yorgey <byorgey@gmail.com>NoneH  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGr  !"#$%&'())*+,-./0123456789:;<=>?@ABCDDEFGHIJKLMNOP Q R S T U V W X Y Z [ \ ] ^_`a_bcadefghijklmnopqrstuvwxyz{vw|}~€ ‚BlogLiterately-0.5.4.1Text.BlogLiterately.TransformText.BlogLiterately.LaTeXText.BlogLiterately.BlockText.BlogLiterately.GhciText.BlogLiterately.HighlightText.BlogLiterately.OptionsText.BlogLiterately.ImageText.BlogLiterately.PostText.BlogLiterately.RunPaths_BlogLiteratelyText.BlogLiteratelybool-extras-0.3.0Data.Bool.ExtraswhenAwpTeXifyunTag ProcessInfoghciEvalwithGhciProcess isLiteratestopGhcimagicextract'extractbreaksformatInlineGhci StylePrefs HsHighlight HsNoHighlightHsKate HsColourCSSHsColourInlinecolourItlitifydefaultStylePrefs getStylePrefs bakeStyles replaceBreakscolouriseCodeBlockcolourisePandocBlogLiteratelystyle hsHighlightotherHighlightwplatexmathghci uploadImages categoriestagsblogidbloguserpasswordtitlefilepostidpagepublishxtrablOptsuploadAllImagesuploadIt mkMediaObjectmkPostmkArraypostIt Transform getTransformxfCond runTransform runTransforms wptexifyXFghciXFimagesXF highlightXFstandardTransformscenterImagesXFxformDocfixLineEndingsblogLiteratelyblogLiteratelyWithblogLiteratelyCustomcatchIOversionbindirlibdirdatadir libexecdir getBinDir getLibDir getDataDir getLibexecDirgetDataFileNameGhciLine GhciOutput GhciInput UnexpectedOKexprexpectedparseGhciInputs mkGhciInputunlines'stripunindentindentcolored coloredBlock ghciPromptformatGhciResultescreadUploadedImageswriteUploadedImagesURLuploadedImagesFilereadMaybase Control.ArrowKleislipandoc-types-1.10Text.Pandoc.DefinitionPandocarr pandoc-1.10.1Text.Pandoc.Readers.Markdown readMarkdown centerImagespasswordPrompt