From 93ec85b16b4f26a92aef30af67b0ffee141e9e2f Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 7 Apr 2016 10:00:11 +0200 Subject: [PATCH] Switch markdown engine to kramdown. --- _config.yml | 9 +++++---- index.html | 1 + js/copySnippets.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index 0c4a86b5..a1302818 100644 --- a/_config.yml +++ b/_config.yml @@ -1,10 +1,11 @@ ### Global gh-pages pre-amble safe: true lsi: false -pygments: true -markdown: redcarpet -redcarpet: - extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] +markdown: kramdown +kramdown: + input: GFM + auto_ids: true + syntax_highlighter: rouge ### The following properties will change on a project-by-project basis diff --git a/index.html b/index.html index 89a7d602..af992b1d 100644 --- a/index.html +++ b/index.html @@ -62,6 +62,7 @@ Spring Data GemFire brings the full power of the Spring framework to your GemFir * Spring Tool Suite [Spring Project Templates for GemFire](http://docs.spring.io/sts/nan/v310/NewAndNoteworthy.html) + ## Quick Start {% include download_widget.md %} diff --git a/js/copySnippets.js b/js/copySnippets.js index 934708ce..365a6f52 100644 --- a/js/copySnippets.js +++ b/js/copySnippets.js @@ -8,7 +8,7 @@ $(document).ready(function() { Spring.configureCopyButtons = function() { if (ZeroClipboard.detectFlashSupport()) { - $(".highlight > pre").each(function(index) { + $(".highlighter-rouge > pre").each(function(index) { Spring.buildCopyButton($(this), index); } );