Skip to content

Instantly share code, notes, and snippets.

@niieq
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save niieq/18ccc0963c58a0a70772 to your computer and use it in GitHub Desktop.

Select an option

Save niieq/18ccc0963c58a0a70772 to your computer and use it in GitHub Desktop.

So What is reStructedText?

From reStructuredText docutils , reStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system.

It is useful for in-line program documentation (such as Python docstrings), for quickly creating simple web pages, and for standalone documents. reStructuredText is designed for extensibility for specific application domains.

So basically i wrote this and all other blog posts with reStructuredText with the aid of restblog.

Restblog is a simple utility to manage the contents of a Wordpress blog using reStructuredText. It is written in Python and consists of a simple command-line interface that allows you to create, edit and delete posts and pages.

The Python API is well documented and can be easily used to build other tools on top of it, for example, plugins for various text editors. It should work in pretty much any platform that has a Python interpreter and some kind of shell or terminal. Tested in Linux, MacOS X and Windows. All you need is a simple text editor of your choice and a shell, terminal or command prompt.

So with restblog , you can:

  • List recent posts from you blog
  • Draft a post
  • Insert the post
  • Classify and tag a post
  • Update , Delete and Manage a Post

One Cool thing i like is how you can display your codes. .. sourcecode:: python

if __name__ == '__main__':
print "i love this"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment