mirror of
https://github.com/github/jekyll-commonmark-ghpages
synced 2026-07-21 14:53:52 +00:00
No description
- Ruby 97.7%
- Shell 2.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| lib | ||
| script | ||
| spec | ||
| .gitignore | ||
| Gemfile | ||
| jekyll-commonmark-ghpages.gemspec | ||
| LICENSE | ||
| Rakefile | ||
| README.md | ||
jekyll-commonmark-ghpages
GitHub Flavored Markdown converter for Jekyll, based on jekyll-commonmark
Jekyll Markdown converter that uses libcmark-gfm, GitHub's fork of cmark, the reference parser for CommonMark, with some additions to ensure compatibility with existing Kramdown-based sites.
Installation
Add the following to your Gemfile:
group :jekyll_plugins do
gem 'jekyll-commonmark-ghpages'
end
and modify your _config.yml to use CommonMarkGhPages as your Markdown converter:
markdown: CommonMarkGhPages
This processor is currently in testing for use in GitHub Pages.
To specify extensions and options for use in converting Markdown to HTML, supply options to the Markdown converter:
commonmark:
options: ["UNSAFE", "SMART", "FOOTNOTES"]
extensions: ["strikethrough", "autolink", "table", "tagfilter"]
⚠ The UNSAFE option is required for HTML rendering.