Jekyll Markdown processor similar to GitHub markdown

I am currently building a site using GitHub pages and am trying to use some of the features of Markdown from GitHub. Specifically fenced code blocks and tables.

Using redcarpet I get the syntax of the selected fenced blocks, but no tables.

Switching to kramdown gives tables, but the blocking blocks of previous operations stop.

I would prefer if I can leave without having to run jekyll locally so that I can update the site from anywhere.

Is there a configuration option that will configure any of the markup processors to work similarly to GitHub's tasteful markdown relative to the above two functions?

+4
source share
1 answer

You can use secure code blocks and tables with kramdown.

Add this to your _config.yml to enable the GitHub Flavored Markdown for kramdown.

kramdown:
  input: GFM
+4
source

Source: https://habr.com/ru/post/1540622/


All Articles