From 7ef2936e4f55db5dd91c6fd49765d687723fbcd7 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 7 Apr 2016 09:55:19 +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 8a74536e7..213a73735 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 7ba6bec90..46347c68b 100644 --- a/index.html +++ b/index.html @@ -57,6 +57,7 @@ Spring Data REST builds on top of Spring Data repositories, analyzes your applic * Allows [advanced customizations](http://docs.spring.io/spring-data/rest/docs/current/reference/html/#customizing-sdr) of the default resources exposed. + ## 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); } );