Skip to content

Instantly share code, notes, and snippets.

@brecert
Created November 1, 2022 08:12
Show Gist options
  • Save brecert/b61b30e527075ce64a4856a7ac264f1c to your computer and use it in GitHub Desktop.
Save brecert/b61b30e527075ce64a4856a7ac264f1c to your computer and use it in GitHub Desktop.
# Basic Formatting
**bold**
*italic* (friendly)
//italic//
__underline__
~~strikethrough~~
||spoiler||
`inline code` (friendly)
``inline code``
# Blockquotes
> single line blockquote (friendly)
>> single line blockquote (does not stack with previous due to different > indents?)
# Custom Expressions
tag:argument[attributes] (friendly but more limitations)
[tag:argument attributes]
[link: https://example.com -> Example Website]
https://example.com[Example Website]
# Blocks
argument and [attributes] can be elided
more backticks ` can be added to require matching that amount of backticks
this can help with including other blocks inside of the block
implementation would determine what tags are defined for blocks to use
```
default block (usually codeblock)
```
```tag:argument[attributes]
text
```
```[tag:argument attributes]
text
```
```[code:js]```
```code:js
```
(friendly definitions)
```js
```
```blockquote
multiline
blockquote
```
``````text:inline[color: gray, font-size: large, font-family: monospace]
```
large monospaced text
```
``````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment