I have now released version 0.5 of BlogLiterately. (You can read about the 0.4 release here.) This version does uploading of images! Here is proof:
d’awww.
(My previous post explains the problem and solution with image uploads.)
It also allows you to specify expected outputs in a ghci session (a feature suggested by Dan Burton). This block
[ghci]
7+6
13
9+4
12
now produces
ghci> 7+6
13
ghci> 9+4
13
12
Outputs that match the expected output are shown normally; outputs that don’t match the expected output are shown with the actual output in red and expected in blue. The idea is that this helps you catch errors in your code before uploading the post. (Of course, you don’t have to specify expected outputs if you don’t want to.)
Another new feature is that BlogLiterately will prompt you for your password if you don’t specify it on the command line (another feature requested by Dan).
Finally, one of the coolest new features (in my opinion) is that the internals are now exposed as a library, and in particular you can easily add your own custom transformation passes (of type Pandoc -> IO Pandoc) to the existing ones. So, for example, you could do something particular with your own specially tagged blocks (like [ghci] blocks), or wrap images in some fancy HTML to produce frames and captions, or automatically turn certain things into links, or whatever you can dream up. If you come up with any transformations you think might be more generally useful, please send them to me so I can include them in future releases for others to use.
Happy blogging!
Hi Brent!
Nice to see you working on BL!
I’ve forked it a while ago (https://github.com/trofi/BlogLiterately) and added:
- RST support (it’s sometimes easier to embed tables, metadata, internal references, etc.)
- auth data is now read from simple config file
- commandline parsing greatly simplified
The post source looks like that:
https://raw.github.com/gentoo-haskell/gentoo-haskell/master/projects/blog/43-ghc-7.4-in-the-gentoo-tree.rst (Note the header)
Sources diverged a bit. What do you think of me porting our features against your repo?
Thanks!
Hi Sergei, too bad I didn’t know you had forked it, we could have incorporated your changes before the sources diverged! Anyway, yes, I would love to have you port your features. RST support would be great, and I wanted to eventually move in the direction of supporting a config file anyway.
Pingback: BlogLiterately 0.5.2 release, with improved image uploading | blog :: Brent -> [String]