From f7aafb1a40ec04113c2884cf621659d6b4696be7 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 7 Apr 2016 09:49:35 +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 a36ec4e9d..f6a802b31 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 54c402f0a..70e9aa402 100644 --- a/index.html +++ b/index.html @@ -62,6 +62,7 @@ The Spring Data Elasticsearch project provides integration with the Elasticsearc + ## Quick Start {% include download_widget.md %} diff --git a/js/copySnippets.js b/js/copySnippets.js index 934708ce0..365a6f52d 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); } );