From d514a2ac9ffd8ad456974155ae6d1faab173ba34 Mon Sep 17 00:00:00 2001 From: Dmitry Kunin Date: Wed, 12 Jun 2013 19:02:30 +0300 Subject: [PATCH] [android, tools] Small script to convert .md to .html and open result in browser. Suitable for "write-and-check" approach. --- api/android/readme_to_html.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 api/android/readme_to_html.sh diff --git a/api/android/readme_to_html.sh b/api/android/readme_to_html.sh new file mode 100755 index 0000000000..8754fc4357 --- /dev/null +++ b/api/android/readme_to_html.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e -u -x + +## This script converts .md file to .html and opens it in browser. +## Please install next gems to use it: +## gem install redcarpet +## gem install github-markup + +github-markup README.md > README.html +open README.html \ No newline at end of file