Skip to content

Commit 00fc5ee

Browse files
committed
GH Pages: minor tweaks to the configuration file
Includes adding a `commonmark` configuration to prevent Commonmark blindly stripping _all_ HTML.
1 parent 4a80d51 commit 00fc5ee

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

docs/_config.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,34 @@ twitter:
3333
author:
3434
twitter: jrf_nl
3535

36-
exclude: ['CNAME', '.gitignore', 'Gemfile', '*.bak', '*.orig', 'vendor']
36+
# Needed so the select HTML tags do not get removed *sigh*
37+
commonmark:
38+
options: ["SMART", "FOOTNOTES", "UNSAFE"]
39+
extensions: ["strikethrough", "autolink", "table"]
40+
41+
# Files to exclude when generating the site.
42+
exclude:
43+
- .sass-cache/
44+
- .jekyll-cache/
45+
- gemfiles/
46+
- Gemfile
47+
- Gemfile.lock
48+
- node_modules/
49+
- vendor/bundle/
50+
- vendor/cache/
51+
- vendor/gems/
52+
- vendor/ruby/
53+
- CNAME
54+
- CONTRIBUTING.md
55+
- LICENSE
56+
- README.md
57+
- apigen.neon
58+
- buildtool.py
59+
- Vagrantfile
60+
- vagrant-provision.sh
61+
- .gitignore
62+
- .github
63+
- .jekyll-metadata
64+
- '*.bak'
65+
- '*.orig'
66+
- runit.bat

0 commit comments

Comments
 (0)