docs: update markdown_test
This commit is contained in:
parent
ff826e0d4a
commit
8a80a83246
130
markdown_test.md
130
markdown_test.md
|
|
@ -2,7 +2,7 @@
|
||||||
title: Trying markdown features
|
title: Trying markdown features
|
||||||
description:
|
description:
|
||||||
published: 1
|
published: 1
|
||||||
date: 2024-01-28T19:10:27.079Z
|
date: 2024-02-16T19:41:29.074Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2024-01-28T19:10:27.079Z
|
dateCreated: 2024-01-28T19:10:27.079Z
|
||||||
|
|
@ -212,6 +212,134 @@ Using the syntax `- [ ]` or a `- [x]`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Images
|
||||||
|
|
||||||
|
### Tab {.tabset}
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
Using the syntax ``.
|
||||||
|
|
||||||
|
Image alt text - text that is displayed when the image could not be loaded
|
||||||
|
Image source - file path of image
|
||||||
|
Image title - is displayed when the user hovers over the picture
|
||||||
|
|
||||||
|
#### Shortcuts
|
||||||
|
- Using the **Assets** tool in the left toolbar.
|
||||||
|
|
||||||
|
#### Examples
|
||||||
|
|
||||||
|
```markdown
|
||||||
|

|
||||||
|
|
||||||
|
Consectetur  elit
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Dimensions
|
||||||
|
|
||||||
|
Sometimes images are too large or maybe you want the image to fill up all the available space.
|
||||||
|
|
||||||
|
Simply at the dimensions at the end of the image path in the following format:
|
||||||
|
|
||||||
|
```
|
||||||
|

|
||||||
|
```
|
||||||
|
|
||||||
|
You can also omit one of the values to automatically keep the image ratio:
|
||||||
|
|
||||||
|
```
|
||||||
|

|
||||||
|

|
||||||
|
```
|
||||||
|
|
||||||
|
It's also possible to use other units, like %. Useful when you need the image to take all the available space:
|
||||||
|
|
||||||
|
```
|
||||||
|

|
||||||
|
```
|
||||||
|
|
||||||
|
## Inline Code
|
||||||
|
|
||||||
|
### Tab {.tabset}
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
Using a **backtick** symbol before and after the text selection.
|
||||||
|
|
||||||
|
#### Shortcuts
|
||||||
|
- By selecting text, then clicking the {.radius-4} button in the toolbar.
|
||||||
|
|
||||||
|
#### Examples
|
||||||
|
|
||||||
|
```js
|
||||||
|
Lorem `ipsum` dolor
|
||||||
|
```
|
||||||
|
|
||||||
|
Lorem `ipsum` dolor
|
||||||
|
|
||||||
|
## Italic
|
||||||
|
|
||||||
|
### Tab {.tabset}
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
Using a **single asterisk** symbol before and after the text selection.
|
||||||
|
|
||||||
|
#### Shortcuts
|
||||||
|
- By selecting text, then clicking the {.radius-4} button in the toolbar.
|
||||||
|
- By selecting text, then pressing <kbd>CTRL</kbd> + <kbd>I</kbd>
|
||||||
|
|
||||||
|
#### Examples
|
||||||
|
|
||||||
|
```js
|
||||||
|
Lorem *ipsum* dolor
|
||||||
|
```
|
||||||
|
|
||||||
|
Lorem *ipsum* dolor
|
||||||
|
|
||||||
|
## Keyboard Keys
|
||||||
|
|
||||||
|
### Tab {.tabset}
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
Using `<kbd>` before and `</kbd>` after the text selection.
|
||||||
|
|
||||||
|
#### Shortcuts
|
||||||
|
- By selecting text, then clicking the {.radius-4} button in the toolbar.
|
||||||
|
|
||||||
|
#### Examples
|
||||||
|
|
||||||
|
```html
|
||||||
|
Lorem ipsum dolor <kbd>CTRL</kbd> + <kbd>C</kbd>
|
||||||
|
```
|
||||||
|
|
||||||
|
Lorem ipsum dolor <kbd>CTRL</kbd> + <kbd>C</kbd>
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
### Tab {.tabset}
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
|
||||||
|
Using the syntax `[Link Text](Link Target)`.
|
||||||
|
|
||||||
|
#### Shortcuts
|
||||||
|
- Using the **Link** tool in the left toolbar.
|
||||||
|
|
||||||
|
#### Examples
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
[Lorem ipsum](https://wiki.js.org/about)
|
||||||
|
|
||||||
|
Consectetur [adipiscing](/install/requirements) elit
|
||||||
|
```
|
||||||
|
|
||||||
|
[Lorem ipsum](https://wiki.js.org/about)
|
||||||
|
|
||||||
|
Consectetur [adipiscing](/install/requirements) elit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Source 2
|
# Source 2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue