The following sections contain all you need to know about editing and formatting the content within this site. Make sure to do some research before starting your edits or additions. Sometimes the toughest part is finding where the content should live and determining whether or not it already exists.
edit
and expand on the structure.Each article contains a small section at the top written in YAML Frontmatter:
---
title: My Article
sort: 3
contributors:
- [github username]
related:
- title: Title of Related Article
url: [url of related article]
---
Let's break these down:
title
: The name of the article.sort
: The order of the article within its section.contributors
: A list of GitHub usernames who have contributed to this article.related
: Any related reading or useful examples.Note that related
will generate a Further Reading section at the bottom of the page and contributors
will yield a Contributors section below it. If you edit an article and would like recognition, don't hesitate to add your GitHub username to the contributors
list.
css-loader
, ts-loader
, …BannerPlugin
, NpmInstallWebpackPlugin
, …Syntax: ```javascript … ```
function foo () {
return 'bar';
}
foo();
Lists should be ordered alphabetically.
Same goes for tables.
The configuration properties should be ordered alphabetically as well:
devServer.contentBase
devServer.compress
devServer.hot
Syntax: >
This is a blockquote.
Syntax: T>
This is a tip.
Syntax: W>
This is a warning.
Syntax: ?>
This is a todo.