Îõ³h$æÛ(c) Brent Yorgey 2012-2013BSD-style (see LICENSE) Brent Yorgey None ìÓBlogLiterately-diagrams?Transform a blog post by looking for code blocks with class diaË, and replacing them with images generated by evaluating the identifier diaÉ and rendering the resulting diagram. In addition, blocks with class dia-def‰ are collected (and deleted from the output) and provided as additional definitions that will be in scope during evaluation of all dia blocks.Be sure to use this transform before the standard  transform, i.e. with the  function. For example, =main = blogLiteratelyCustom (diagramsXF : standardTransforms)*It also works well in conjunction with . (which, of course, should be placed after  diagramsXF; in the pipeline). This package provides an executable BlogLiteratelyD which includes diagramsInlineXF,  diagramsXF, and centerImagesXF.BlogLiterately-diagrams%Transform a blog post by looking for inline code snippets with class dia°, and replacing them with images generated by evaluating the contents of each code snippet as a Haskell expression representing a diagram. Any code blocks with class dia-defß will be in scope for the evaluation of these expressions (such code blocks are unaffected).Because  diagramsXF and diagramsInlineXF both use blocks with class dia-def, but diagramsInlineXF leaves them alone whereas  diagramsXF deletes them, diagramsInlineXF must be placed before  diagramsXF in the pipeline. 2BlogLiterately-diagrams-0.3-7yNxtuRtryj3JwtvuAKooXText.BlogLiterately.DiagramsText.BlogLiterately.Transform highlightXFText.BlogLiterately.RunblogLiteratelyCustomcenterImagesXF diagramsXFdiagramsInlineXF