mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-27 16:19:34 -05:00
50 lines
672 B
Markdown
50 lines
672 B
Markdown
|
|
|||
|
## Find ``` replace with <code>
|
|||
|
|
|||
|
> ```
|
|||
|
> <code>
|
|||
|
|
|||
|
### Replace quotes with <br> in quoted section
|
|||
|
1: First Line
|
|||
|
\n> <code>\n> (.*)
|
|||
|
\n<code>$1<br>
|
|||
|
2: Second lines
|
|||
|
\n(<code>.*)\n> (.*)
|
|||
|
\n$1<br>$2
|
|||
|
|
|||
|
### Close </code>
|
|||
|
|
|||
|
1:
|
|||
|
<br><br><code>
|
|||
|
</code>
|
|||
|
2:
|
|||
|
<br><code>
|
|||
|
</code>
|
|||
|
|
|||
|
## Find Quote and replace with linebreak
|
|||
|
|
|||
|
\n> (.*)\n>
|
|||
|
\n$1<br>
|
|||
|
|
|||
|
\n\n(.*)\n > (.*)
|
|||
|
\n\n$1<br>
|
|||
|
|
|||
|
## Nested Quotes
|
|||
|
|
|||
|
(\* .*)\n > (.*)\n >
|
|||
|
\n\n$1<br>$2
|
|||
|
|
|||
|
## Format row with trailing author\other info
|
|||
|
|
|||
|
\* \[(.*)\]\((.*)\) (.*)\n\n(.*)
|
|||
|
$1\t$4\t$2\t$3
|
|||
|
|
|||
|
### Same with different space
|
|||
|
|
|||
|
\* \[(.*)\]\((.*)\) (.*)\n\n(.*)
|
|||
|
$1\t$4\t$2\t$3
|
|||
|
|
|||
|
### Same with leading note
|
|||
|
|
|||
|
\* (.*)\[(.*)\]\((.*)\) (.*)\n\n(.*)
|
|||
|
$1\t$4\t$2\t$3\$5
|