Doug Hellmann is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

dhellmann / rst2marsedit

Convert a reStructuredText input file to HTML suitable for posting to a blog through MarsEdit.

Clone this repository (size: 14.5 KB): HTTPS / SSH
hg clone https://bitbucket.org/dhellmann/rst2marsedit
hg clone ssh://hg@bitbucket.org/dhellmann/rst2marsedit

rst2marsedit overview

Recent commits See more »

==============
 rst2marsedit
==============

rst2marsedit is a Python script for converting reStructuredText_ input
to HTML that can be used with the MarsEdit_ blogging tool.

Usage
=====

::

    Usage: rst2marsedit <infile>

Options:

  -h, --help            show this help message and exit
  -b BLOG, --blog=BLOG  The blog name
  -t TAGS, --tag=TAGS   Tag names

For example::

  $ rst2marsedit -t board -b 'Python Software Foundation' 2010-05-10/sprints.rst

produced the post at http://pyfound.blogspot.com/2010/06/psf-sponsored-sprints.html

Installation
============

::

    $ pip install rst2marsedit


.. _reStructuredText: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html

.. _MarsEdit: http://www.red-sweater.com/marsedit/