From 64738305fcc7e5c6ea7a46119707b73b3ca2506c Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 7 Apr 2016 09:45:08 +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 2b85c53c..f7a75929 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 13122d6b..20633b37 100644 --- a/index.html +++ b/index.html @@ -69,6 +69,7 @@ access layer. * Can serve as the backend for `@Cacheable` support, to cache any objects you need for high performance access (see sibling Spring Cache project in Couchbase's github, [couchbaselabs/couchbase-spring-cache](https://github.com/couchbaselabs/couchbase-spring-cache)). + ## 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); } );