diff options
author | Dmitry Kunin <dkunin@mapswith.me> | 2013-06-12 20:02:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:57:28 +0300 |
commit | d514a2ac9ffd8ad456974155ae6d1faab173ba34 (patch) | |
tree | 5d4517a1167f772fb07b10519e3b55fc7438bca6 /api | |
parent | 4857533099556abe54cc6a75f2fe7bc2c24aab14 (diff) |
[android, tools] Small script to convert .md to .html and open result in browser.
Suitable for "write-and-check" approach.
Diffstat (limited to 'api')
-rwxr-xr-x | api/android/readme_to_html.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |