From 4e3a86eff48309720cb7ff8280e1ad0d5f859ff8 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 13 Aug 2013 10:40:28 +0100 Subject: [PATCH] Add table support to markdown --- src/pages/_config.yml | 2 ++ src/pages/build.sh | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/_config.yml b/src/pages/_config.yml index 2385aa22e18..afbc2de402f 100644 --- a/src/pages/_config.yml +++ b/src/pages/_config.yml @@ -3,5 +3,7 @@ lsi: false pygments: true github: https://github.com/SpringSource/spring-boot markdown: redcarpet +redcarpet: + extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] project: version: 0.5.0.BUILD-SNAPSHOT diff --git a/src/pages/build.sh b/src/pages/build.sh index 182d9e36263..c96da57c0cd 100755 --- a/src/pages/build.sh +++ b/src/pages/build.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +echo $* | grep -q "\-x" && set -x + if [ -e "$HOME/.rvm/scripts/rvm" ]; then source "$HOME/.rvm/scripts/rvm" rvm 1.9.3 @@ -44,13 +46,13 @@ function fail { echo is missing ruby or gem dependencies. echo Please ensure that you have installed ruby 1.9.3 echo and execute - echo " $" (cd $PAGES_HOME; bundle) + echo " $ (cd $PAGES_HOME; bundle)" echo before trying again } trap fail EXIT -if ! [ -z $PAGES_HOME/Gemfile.lock ]; then +if ! [ -e $PAGES_HOME/Gemfile.lock ]; then exit 1 fi