# 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**](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](https://commonmark.org/): One of our major goals is to [strongly specify Markdown](https://spec.commonmark.org/), 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.

{% embed url="<https://spec.commonmark.org/0.29/>" %}

## &#x20;Open link in new tab

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

## Testing

{% embed url="<https://johnmacfarlane.net/babelmark2/>" %}

{% embed url="<https://dillinger.io/>" %}

{% embed url="<https://stackedit.io/app#>" %}
