Hello, @michael-vincent, @alan-kilborn, @ekopalypse, @peterjones and All,
Here is my own Markdown test style ;-))
First, it may give you some hints about the way to realize some specific things, on our NodeBB Notepad++ forum
Secondly, you may use it to test a Markdown lexer or UDL
So, this raw input text, below :
#### FONT styles : ¯¯¯¯¯¯¯¯¯¯¯ DEFAULT text *Italic1* _Italic2_ **STRONG1** __STRONG2__ ***STRONG_italic1*** ___STRONG_italic2___ ~~Strikethrough~~ `Monospace` ``There are LITERAL `back-ticks` here !`` #### HEADERS : ¯¯¯¯¯¯¯¯¯¯ Header H1 ========= Header H2 --------- and # Header H1 ## Header H2 ### Header H3 ### #### Header H4 ##### Header H5 ###### Header H6 # #### NON-ORDERED lists : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ * First item * Second item - Third item - Fourth item + Fifth item + Sixth item - Seventh item - Eighth item * Ninth item * Tenth item #### ORDERED lists : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 1. First item 2. Second item 2020\. What a year ! 3. Third item 999. Last item #### Block QUOTES : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > This is the **first** level of quoting. > > > **Second** level : this is a **nested** blockquote. > >Back to the **first** level. > **Second** block quote test > #### **`Third`** block quote > > > 1. This is the **first** list item. > > 2. This is the **second** list item. > > > > Here's some example **code**: > > > > return shell_exec("echo $input | $markdown_script"); > This is the end of the **first** level #### CODE blocks : ¯¯¯¯¯¯¯¯¯¯¯¯ With **`4` leading** spaces : static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } By **default** ( identical ) : ~~~ static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ With **`CPP` language** specified : ~~~cpp static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ **Without** any language **extension** : ~~~no static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } ~~~ #### HORIZONTAL rules ( *** or --- or ___ ) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ Before the **rule** --- After the **rule** #### LINKS : ¯¯¯¯¯¯ **In-line**-style links : This is the [1st link](https://example.com/) example This is the [2nd link](https://tests.com/ "Hovered Text") example **Reference**-style links : This is the [1st Reference][id1] style link [id1]: <https://tests.com/> [id2]: https://example.com/ "Hovered Text" This is the [2nd reference][id2] style link **Implicit**-style link : The [Daring Fireball][] site [Daring Fireball]: https://daringfireball.net/ (Daring Fireball Site) #### PICTURES : ¯¯¯¯¯¯¯¯¯¯ **In-line**-style image :  The *same* **in-line** image with **hovered** text  **Reference-style** image ( **Notepad++** animation ) : ![][id3] [id3]: https://i.imgur.com/HvBd52m.gif [id4]: <https://i.imgur.com/HvBd52m.gif> 'RENUMBERING with RECTANGULAR selection' The *same* animation, with **hovered** text ![][id4] #### AUTOMATIC links : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ <https://www.google.fr/> <xxx.xxx.xxx@gmail.com> #### ESCAPED characters : ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ a LITERAL backslash **\\** character a LITERAL back-tick **\`** character a LITERAL asterisk **\*** character a LITERAL underscore **\_** character a LITERAL opening curly brace **\{** character a LITERAL ending curly brace **\}** character a LITERAL opening square bracket **\[** character a LITERAL ending square bracket **\]** character a LITERAL opening parenthesis **\(** character a LITERAL ending parenthesis **\)** character a LITERAL hash mark **\#** character a LITERAL plus sign **\+** character a LITERAL minus sign (hyphen) **\-** character a LITERAL dot **\.** character a LITERAL exclamation mark **\!** character #### TABLES : ¯¯¯¯¯¯¯¯ **`6`** **columns**, so **`7`** **delimiters** ( character **`|`**) | Name | AgeM | AgeF | Occupation | ABC |Xyz| |-|:-:|:-:|-|:-|-:| | John COOMBE | 60 | | Farmer | | Y | | Joseph COOMBE | 28 | | | Y | Y | | Elizabeth COOMBE | | 22 | | Y |N| | | | | | | | | George COOMBE | 16 | | |N| Y | | Richard COOMBE | 14 | | |N|N| |.|.|.|.|.|.| | Christopher COOMBE | 11 | | | Y || | Francis COOMBE | 2 | | | || That's **ALL** !Should produce this output :
FONT styles :¯¯¯¯¯¯¯¯¯¯¯
DEFAULT text
Italic1
Italic2
STRONG1
STRONG2
STRONG_italic1
STRONG_italic2
Strikethrough
Monospace
There are LITERAL `back-ticks` here !
HEADERS :¯¯¯¯¯¯¯¯¯¯
Header H1 Header H2and
Header H1 Header H2 Header H3 Header H4 Header H5 Header H6 NON-ORDERED lists :¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
First item Second item Third item Fourth item Fifth item Sixth item Seventh item Eighth item Ninth item Tenth item ORDERED lists :¯¯¯¯¯¯¯¯¯¯¯¯¯¯
First item Second item2020. What a year ! Third item Last item Block QUOTES :
¯¯¯¯¯¯¯¯¯¯¯¯¯¯
This is the first level of quoting.
Second level : this is
a nested
blockquote.Back to
the first level.
Second
block quote
test
Third block quoteCODE blocks :This is the first list item. This is the second list item.Here’s some example code:
return shell_exec("echo $input | $markdown_script");This is the
end of the first level
¯¯¯¯¯¯¯¯¯¯¯¯
With 4 leading spaces :
static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }By default ( identical ) :
static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }With CPP language specified :
static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } }Without any language extension :
static int isPalindrome(int item) { int rev = 0; int rem = 0; int num = item; while (num > 0) { rem = num % 10; rev = rev * 10 + rem; num = num / 10; } } HORIZONTAL rules ( *** or — or ___ )¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Before the rule
After the rule
LINKS :¯¯¯¯¯¯
In-line-style links :
This is the 1st link example
This is the 2nd link example
Reference-style links :
This is the 1st Reference style link
This is the 2nd reference style link
Implicit-style link :
The Daring Fireball site
PICTURES :¯¯¯¯¯¯¯¯¯¯
In-line-style image :
The same in-line image with hovered text
Reference-style image ( Notepad++ animation ) :
The same animation, with hovered text
AUTOMATIC links :¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
ESCAPED characters :¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
a LITERAL backslash \ character
a LITERAL back-tick ` character
a LITERAL asterisk * character
a LITERAL underscore _ character
a LITERAL opening curly brace { character
a LITERAL ending curly brace } character
a LITERAL opening square bracket [ character
a LITERAL ending square bracket ] character
a LITERAL opening parenthesis ( character
a LITERAL ending parenthesis ) character
a LITERAL hash mark # character
a LITERAL plus sign + character
a LITERAL minus sign (hyphen) - character
a LITERAL dot . character
a LITERAL exclamation mark ! character
¯¯¯¯¯¯¯¯
6 columns, so 7 delimiters ( character |)
Columns 1, 4, 5 are default left justified Column 6 is right justified Columns 2,3 are centered Name AgeM AgeF Occupation ABC Xyz John COOMBE 60 Farmer Y Joseph COOMBE 28 Y Y Elizabeth COOMBE 22 Y N George COOMBE 16 N Y Richard COOMBE 14 N N . . . . . . Christopher COOMBE 11 Y Francis COOMBE 2That’s ALL !
BR
guy038