Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable emoji on website; enable normal ul elements #4235

Merged
merged 1 commit into from Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eleventy.js
Expand Up @@ -31,6 +31,8 @@ module.exports = function(eleventyConfig) {

markdown.use(require('markdown-it-prism'));

markdown.use(require('markdown-it-emoji'));

eleventyConfig.setLibrary('md', markdown);

return {
Expand Down
3 changes: 2 additions & 1 deletion .markdownlint.json
Expand Up @@ -6,5 +6,6 @@
"first-header-h1": false,
"first-line-h1": false,
"commands-show-output": false,
"single-h1": false
"single-h1": false,
"fenced-code-language": false
}
18 changes: 18 additions & 0 deletions docs/css/style.css
Expand Up @@ -171,6 +171,13 @@ ul {
padding: 0 15px;
}

ul.single-column,
ul.single-column > li > ul {
column-count: 1;
margin-top: 0;
padding-right: 0;
}

ul li {
border-bottom: 1px solid #eee;
break-inside: avoid;
Expand All @@ -179,6 +186,17 @@ ul li {
padding: 5px 0;
}

ul.single-column li,
ul.single-column li > ul > li {
list-style: disc;
padding: 0;
border-bottom: 0;
}

ul.single-column li > ul > li {
list-style: circle;
}

code {
font: 14px monaco, monospace;
line-height: 1.8;
Expand Down