kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject [1/2] kudu git commit: jekyll: Use GitHub-flavored markdown and GitHub style highlighting
Date Wed, 31 Aug 2016 21:52:17 GMT
Repository: kudu
Updated Branches:
  refs/heads/gh-pages 4f7d347a0 -> ff694301d


jekyll: Use GitHub-flavored markdown and GitHub style highlighting

The default Kramdown syntax is different than GitHub's. Let's use
markdown syntax that is compatible with GitHub, which is what we had
intended to do all along. This allows us to use backticks for code
blocks, for example.

Also, instead of the default CodeRay syntax highlighter, use Rouge,
which looks cleaner.

Change-Id: I41257c97cbdbc471e427a116bdc58701892d42aa
Reviewed-on: http://gerrit.cloudera.org:8080/4189
Reviewed-by: Mike Percy <mpercy@apache.org>
Tested-by: Mike Percy <mpercy@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/293d58c5
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/293d58c5
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/293d58c5

Branch: refs/heads/gh-pages
Commit: 293d58c5fd09a854cfcbb00376d3459b42a0413f
Parents: 4f7d347
Author: Mike Percy <mpercy@cloudera.com>
Authored: Wed Aug 31 14:38:32 2016 -0700
Committer: Mike Percy <mpercy@apache.org>
Committed: Wed Aug 31 21:51:51 2016 +0000

----------------------------------------------------------------------
 _config.yml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/293d58c5/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 6d86499..003cfb7 100644
--- a/_config.yml
+++ b/_config.yml
@@ -18,6 +18,9 @@ markdown: kramdown
 
 kramdown:
     toc_levels: 1..3
+    input: GFM
+    hard_wrap: false
+    syntax_highlighter: rouge
 
 # Pagination settings for the blog.
 paginate: 5


Mime
View raw message