Skip to content

Latest commit

 

History

History
100 lines (82 loc) · 13.1 KB

File metadata and controls

100 lines (82 loc) · 13.1 KB

$\small{\textsf{\color{Purple}[/b]\color{white}data\color{Purple}[/b]}}$

Spaces are optional.

Markdown

Basic syntax
**Bold** __Bold__ [b]Bold[/b]
*Italic* _Italic_ [i]Italic[/i]
~Strike~ ~~Strike~~ [strike]Strike[/strike]
***Bold and italic*** ___Bold and italic___ [b][i]Bold and italic[/b][/i]
`Inline` [c]Inline[/c]
# h1 [size=200]h1[/size]
## h2 [size=180]h2[/size]
### h3 [size=150]h3[/size]
#### h4 [size=125]h4[/size]
Links
(relative links is not supported)
[Short name](link) [url=link]Short name[/url]
![Image name](link) ![url=link]Image name[/url]
Html tags
<sub>Subscript</sub> [size=85]Subscript[/size]
<ins>Underlined</ins> [u]Underlined[/u]
<details><summary>Examples</summary></details> [spoiler]
[size=110]Examples[/size]
[/spoiler]
<details> … </details> [spoiler]

[/spoiler]
<unknown> … </unknown> [size=110]unknown[/size]
Spoilers and comments
<!-- spoiler --> Text that should be hidden <!-- /spoiler --> [spoiler]
Text that should be hidden
[/spoiler]
<!-- alternate --> Text that mustn't be converted <!-- /alternate --> Text that mustn't be converted
<!-- Text that should be removed -->
<details> Text that should be hidden </details> [spoiler]
Text that should be hidden
[/spoiler]
Line breaks
<br> </br> <br/>
Line with trailing slash\
New line
Line with trailing slash

New line
Line with 2 trailing spaces
NewLine
Line with 2 trailing spaces

NewLine

Blocks

The blocks below are converted into opening and closing BBcode tags, broken into several lines for readability (otherwise everything will turn into a horrible mess). However, lines, spaces, and tabs between tags do not affect the final result.

To reduce the demonsration, some tags are on the same line as the text.

Code
```py
print("hello!")
```
[code]
print("hello!")
[/code]
```
MsgBox("hello!")
```
[code]
MsgBox("hello!")
[/code]
Block quotes
> A quote looks like a block
> of text
[quote]
A quote looks like a block
of text
[/quote]
> [!NOTE] [!Tip] [!warning] [!cAuTiOn]
> But this is alert
[quote]
[b]NOTE[/b] [b]Tip[/b] [b]warning[/b] [b]cAuTiOn[/b]
But this is alert
[/quote]
> Quotes can contain
> > nested quotes
>>without spaces between prefix and word
[quote]
Quotes can contain
[quote]
nested quotes
[/quote]
without spaces between prefix and word
[/quote]
> Many
> > many
> > > nested
> quotes
[quote]
Many
[quote]
many
[quote]
nested
[/quote]
quotes
[/quote]
[/quote]
> As well as:
> 1. Ordered lists
> 1. item1
> 2. item2
> <sub>tags</sub>,
> <!-- comments -->,
> *basic syntax*
> and many more…
[quote]
As well as:
[list=1][*] Ordered lists
[list=1]
[*] item1
[*] item2
[/list][/list]
[size=85]tags[/size],
[i]basic syntax[/i]
and many more…
[/quote]
> 1. Lists can have an infinite level of nesting
> 1. item1
> 2. item2
> 3. item3
> - And unordered lists can be nested too!
> - Item
> - deep item
[quote]
[list=1]
[*] Lists can have an infinite level of nesting
[list=1][*] item1
[list=1][*] item2
[list=1][*] item3
[/list][/list][/list][/list]

[list]
[*] And unordered lists can be nested too!
[list][*] Item
[list][*] deep item
[/list][/list][/list]

Lists can be mixed
[list=1][*] item1
[list][*] item2
[list=1][*] item3
[/list][/list][/list]
[/quote]
> Lists can be mixed
> 1. item1
> - item2
> 3. item3
[quote]
Lists can be mixed
[list=1][*] item1
[list][*] item2
[list=1][*] item3
[/list][/list][/list]
[/quote]
> - As you might guess,
> - all of this applies to:
> 1. lists in quotes.
> 2. lists outside quotes.
> 3. lists with different levels of nesting.
> - As well as applied to ordered/unordered lists mixing.
[quote]
[list]
[*] As you might guess,
[*] all of this applies to:
[list=1]
[*] lists in quotes.
[*] lists outside quotes.
[*] lists with different levels of nesting.
[/list]
[*] As well as applied to ordered/unordered lists mixing.
[/list]
[/quote]
Lists
- The list can start with any number of tabs and spaces
- Each subsequent item in the list must start with the same number of tabs and spaces!
- Nesting levels are taken into account in both spaces and tabs (converted to 8 spaces).
[list]
[*] The list can start with any number of tabs and spaces
[list]
[*] Each subsequent item in the list must start with the same number of tabs and spaces!
[list]
[*] Nesting levels are taken into account in both spaces and tabs (converted to 8 spaces).
[/list][/list][/list]
1. Lists can have an infinite level of nesting
1. item1
2. item2
3. item3
[list=1]
[*] Lists can have an infinite level of nesting
[list=1]
[*] item1
[list=1]
[*] item2
[list=1]
[*] item3
[/list]
[/list][/list][/list]
- And unordered lists can be nested too!
- deep item
[list]
[*] And unordered lists can be nested too!
[list]
[*] deep item
[/list][/list]
- Lists can be mixed
1. item describes:
1. item2
2. item3
2. This item continues previous list started at 1.
[list][*] Lists can be mixed[/list]
[list=1][*] item describes:
[list=1]
[*] item2
[*] item3
[/list]
[*] This item continues previous list started at 1.
[/list]
1. The lists go on and on.
2. This element is part of the list started in point 1.
- To start a new list at the same nesting level,
- start a list of a different type.
- Or increase the nesting level.
[list=1]
[*] The lists go on and on.
[*] This element is part of the list started in point 1.
[/list][list]
[*] To start a new list at the same nesting level,
[*] start a list of a different type.
[list]
[*] Or increase the nesting level.
[/list][/list]
- List can capture additional text elements, as well as quotes, spoilers, **all supported syntax**.
- Add a tab or space before the item to add it to the list.
<details>
This spoiler belongs to the 1st item.
> This quote belongs to the 1st item.
</details>
> This quote does not belong to the list.
[list]
[*] List can capture additional text elements, as well as quotes, spoilers, [b]all supported syntax[/b]
[*] Add a tab or space before the item to add it to the list.
[*]This spoiler belongs to the 1st item.*
[quote]
This quote belongs to the 1st item
[/quote]
[/list]
[quote]
This quote does not belong to the list.
[/quote]
- Quotes and other elements are belongs to previous item regardless of its nesting level.
1. Item1
2. Item2
> This quote belongs to item2.
3. Item3
> This quote belongs to item3
4. Item4
[list]
[*] Quotes and other elements are belongs to previous item regardless of its nesting level.
[/list]
[list=1][*] Item1
[list=1][*] Item2
[quote] This quote belongs to item2. [/quote]

[list=1][*] Item3
[quote] This quote belongs to item3 [/quote]

[*] Item4
[/list][/list][/list]
- To separate any item / quote / other from the list (or start a new list), dont' add space before the item / quote;
- or leave one or more blank lines between the item and the list.
> No spaces: this quote does not belong to the list.

> Another line: this quote does not belong to the list.
[list]
[*] To separate any item / quote / other from the list (or start a new list), dont' add space before the item / quote;
[*] or leave one or more blank lines between the item and the list.
[/list]
[quote] No spaces: this quote does not belong to the list. [/quote]

[quote] Another line: this quote does not belong to the list. [/quote]
- Use line break characters\ </br> <br/>
> This quote does not belong to the list.
[list][*] Use line break characters [/list]

[quote] This quote does not belong to the list. [/quote]

GitHub links and references

You can specify the repository in the converter settings. All issues and commits in short form will be appended into the repository URL.

Mentions and images
(relative links is not supported)
@JoyHak [url=https://github.com/JoyHak]@JoyHak[/url]
![Image name](https://myoctocat.com/assets/images/base-octocat.svg) [url]https://myoctocat.com/assets/images/base-octocat.svg[/url]
Issues (PRs is not supported)
#64 [url=https://github.com/JoyHak/QuickSwitch/issues/64]#64[/url]
GH-64 [url=https://github.com/JoyHak/QuickSwitch/issues/64]GH-64[/url]
JoyHak/QuickSwitch#64 [url=https://github.com/JoyHak/QuickSwitch/issues/64]JoyHak/QuickSwitch#64[/url]
AutoHotkey/AutoHotkeyDocs#744 [url=https://github.com/AutoHotkey/AutoHotkeyDocs/issues/744]AutoHotkey/AutoHotkeyDocs#744[/url]
Commits
https://github.com/JoyHak/QuickSwitch/commit/896111015666c8fa7a8b390232a52e79356319c4
896111015666c8fa7a8b390232a52e79356319c4
JoyHak@896111015666c8fa7a8b390232a52e79356319c4
JoyHak/QuickSwitch@896111015666c8fa7a8b390232a52e79356319c4