跳转到主要内容

将rst输入转换为适合与MarsEdit一起使用的HTML

项目描述

rst2marsedit是一个Python脚本,可以将reStructuredText输入转换为HTML,该HTML可以与MarsEdit博客工具一起使用。

用法

Usage: rst2marsedit <infile>

选项

-h, --help

显示此帮助信息并退出

-b BLOG, --blog=BLOG

博客名称

-t TAGS, --tag=TAGS

标签名称

例如

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

生成了以下文章:http://pyfound.blogspot.com/2010/06/psf-sponsored-sprints.html

安装

$ pip install rst2marsedit

发布历史

1.2

  • 更改实现以使脚本适用于不支持“with”的Python版本。

1.1

  • 修复与MarsEdit通信时使用的AppleScript中的Unicode处理。

1.0

  • 首次公开发布。

支持者