Skip to content

byorgey/BlogLiterately

Repository files navigation

Build Status

Write blog posts in Markdown format, then use BlogLiterately to do syntax highlighting, format ghci sessions, and upload to any blog supporting the metaWeblog API (such as Wordpress).

To get started, use the provided executable BlogLiterately; see http://byorgey.wordpress.com/blogliterately/ for complete documentation.

To make further customization possible, the internals of the executable are made available as a library. In particular, it is easy to create your own executable which adds extra custom transformations; see Text.BlogLiterately.Run.

Mac installation instructions

The following instructions for installing BlogLiterately on a new Mac (with apple silicon M2 processor and Ventura) were kindly provided by Chris Reade.

After installing ghc and cabal using ghcup, there are two more things needed: pkg-config and openssl. Install both of these using homebrew, and set the paths as instructed.

Finally, edit ~/.cabal/config so that it provides locations for the openssl lib and include files. For example:

extra-include-dirs: /opt/homebrew/opt/openssl@3/include
extra-lib-dirs: /opt/homebrew/opt/openssl@3/lib

Finally, cabal install BlogLiterately.

About

Command-line tool for formatting and publishing blog posts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6