1
0
Fork 0

Merge pull request #3329 from BenJamesBen/line-breaks-markdown-frontmatter

fix(docs): Standardize spelling and capitalization for line break, Markdown, and Frontmatter
This commit is contained in:
Joost De Cock 2022-12-26 17:22:00 +01:00 committed by GitHub
commit 1a23d89ee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -8,11 +8,11 @@ need to add a special type of text: whitespace.
Whitespace in patterns can either be line breaks, or spaces. We'll
show you have to handle both below:
## Adding linebreaks to text
## Adding line breaks to text
To add linebreaks to text, you merely have to include them in your text.
To add line breaks to text, you merely have to include them in your text.
When doing so, keep in mind that single-quoted strings in JavaScript
will **not** pick up linebreaks.
will **not** pick up line breaks.
<Example caption="An example of whitespace in text">
```design/src/part.mjs

View file

@ -3,14 +3,14 @@ title: About Frontmatter
order: 10
---
Frontmatter is a way to add metadata to markdown documents.
Frontmatter is a way to add metadata to Markdown documents.
Frontmatter sits at the top of the file (it's matter that's at the front) and is
surrounded by lines with three dashes on them:
```md
---
title: This is frontmatter
title: This is Frontmatter
---
```

View file

@ -2,7 +2,7 @@
title: Working with Frontmatter
---
Frontmatter is a way to add metadata to markdown documents.
Frontmatter is a way to add metadata to Markdown documents.
It is used extensively on freesewing.org and freesewing.dev alike.
Here's what you need to know: