markdown

Making text collapsible:

# A collapsible section with markdown
<details>
  <summary>Click to expand!</summary>
  
  ## Heading
  1. A numbered
  2. list
     * With some
     * Sub bullets
</details>

https://github.com/github/jekyll-commonmark-ghpages#installation

Important: to get it to work on GitHub Pages we need to add the following to the 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: ["SMART", "FOOTNOTES"]
  extensions: ["strikethrough", "autolink", "table", "tagfi

CommonMark: One of our major goals is to strongly specify Markdown, and to eliminate the many old inconsistencies and ambiguities that made using Markdown so difficult.

NOTE: Unfortunately this brakes some of the latex and some html implementation in the blog. Maybe over Xmas.

<a href="https://stackoverflow.com" target="_blank">stackoverflow</a>

Testing

Last updated