lemmy/docs/src/about_guide.md

43 lines
2 KiB
Markdown
Raw Normal View History

2020-02-18 01:48:17 +00:00
# Lemmy Guide
Start typing...
- `@a_user_name` to get a list of usernames.
- `!a_community` to get a list of communities.
2020-02-18 01:48:17 +00:00
- `:emoji` to get a list of emojis.
2020-03-06 19:18:40 +00:00
## Sorting
*Applies to both posts and comments*
Type | Description
--- | ---
Hot | Shows *trending* posts, based on the score, and the most recent comment time.
New | Newest posts.
Top | Shows the highest scoring posts in the given time frame.
For more detail, check the [Post and Comment Ranking details](about_ranking.md).
2020-02-18 01:48:17 +00:00
## Markdown Guide
Type | Or | … to Get
--- | --- | ---
\*Italic\* | \_Italic\_ | _Italic_
\*\*Bold\*\* | \_\_Bold\_\_ | **Bold**
2020-02-18 01:54:45 +00:00
\# Heading 1 | Heading 1 <br> ========= | <h4>Heading 1</h4>
\## Heading 2 | Heading 2 <br>--------- | <h5>Heading 2</h5>
2020-02-18 01:48:17 +00:00
\[Link\](http://a.com) | \[Link\]\[1\]<br><br>\[1\]: http://b.org | [Link](https://commonmark.org/)
!\[Image\](http://url/a.png) | !\[Image\]\[1\]<br><br>\[1\]: http://url/b.jpg | ![Markdown](https://commonmark.org/help/images/favicon.png)
2020-02-18 01:54:45 +00:00
\> Blockquote | | <blockquote>Blockquote</blockquote>
2020-02-18 01:48:17 +00:00
\* List <br>\* List <br>\* List | \- List <br>\- List <br>\- List <br> | * List <br>* List <br>* List <br>
1\. One <br>2\. Two <br>3\. Three | 1) One<br>2) Two<br>3) Three | 1. One<br>2. Two<br>3. Three
2020-02-18 01:54:45 +00:00
Horizontal Rule <br>\--- | Horizontal Rule<br>\*\*\* | Horizontal Rule <br><hr>
2020-02-18 01:48:17 +00:00
\`Inline code\` with backticks | |`Inline code` with backticks
\`\`\`<br>\# code block <br>print '3 backticks or'<br>print 'indent 4 spaces' <br>\`\`\` | ····\# code block<br>····print '3 backticks or'<br>····print 'indent 4 spaces' | \# code block <br>print '3 backticks or'<br>print 'indent 4 spaces'
2020-02-18 01:54:45 +00:00
::: spoiler hidden or nsfw stuff<br>*a bunch of spoilers here*<br>::: | | <details><summary> hidden or nsfw stuff </summary><p><em>a bunch of spoilers here</em></p></details>
2020-07-20 22:06:22 +00:00
Some ~subscript~ text | | Some <sub>subscript</sub> text
Some ^superscript^ text | | ome <sup>superscript</sup> text
2020-02-18 01:48:17 +00:00
[CommonMark Tutorial](https://commonmark.org/help/tutorial/)