Fix doc typos (#578)
This commit is contained in:
@@ -17,7 +17,7 @@ Unordered lists are created by prefixing a line with `*` or `-`. For instance:
|
||||
|
||||
Since this tool is called SilverBullet, we prefer you to use the `*` bullet (which will even appear in _silver_ — clever huh?).
|
||||
|
||||
Ordered lists are created by simply putting a number follow by a period at the beginning of a line:
|
||||
Ordered lists are created by simply putting a number followed by a period at the beginning of a line:
|
||||
|
||||
1. This is the first item
|
||||
2. This is the second item
|
||||
@@ -43,12 +43,12 @@ You can use block quotes by prefixing lines with `>`:
|
||||
> — Yogi Berra
|
||||
|
||||
# Code
|
||||
For the programmers among us, there’s three ways to mark up code. If you want to write some code inline, you can use backticks: `this is code`. For long code snippets you can either use a four-space indent:
|
||||
For the programmers among us, there are three ways to mark up code. If you want to write some code inline, you can use backticks: `this is code`. For long code snippets, you can either use a four-space indent:
|
||||
|
||||
This is code
|
||||
And another line
|
||||
|
||||
Or (preferably) the triple-back tick notation, which also allows you to (optionally) specify a coding language:
|
||||
or (preferably) the triple-back tick notation, which also allows you to (optionally) specify a coding language:
|
||||
|
||||
```javascript
|
||||
function hello() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Code widgets are a SilverBullet specific “extension” to [[Markdown]]. Technically, it’s not an extension — it just gives new meaning to markdown’s native fenced code blocks — code blocks that start with a triple backtick, specifying a programming language.
|
||||
Code widgets are a SilverBullet-specific “extension” to [[Markdown]]. Technically, it’s not an extension — it just gives new meaning to markdown’s native fenced code blocks — code blocks that start with a triple backtick, specifying a programming language.
|
||||
|
||||
Currently, SilverBullet provides two code widgets as part of its built-in [[🔌 Plugs]]:
|
||||
|
||||
@@ -19,13 +19,13 @@ url: https://silverbullet.md
|
||||
height: 500
|
||||
```
|
||||
|
||||
and a Youtube video:
|
||||
and a YouTube video:
|
||||
|
||||
```embed
|
||||
url: https://www.youtube.com/watch?v=VemS-cqAD5k
|
||||
```
|
||||
|
||||
Note, there is specific support for youtube videos — it automatically will set width, height and replaces the URL with an embed URL.
|
||||
Note, there is specific support for YouTube videos — it automatically sets the width and height, and replaces the URL with an embed URL.
|
||||
|
||||
The body of an `embed` block is written in [[YAML]] and supports the following attributes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user