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); } );