1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
HtmGem/tests/test.gmi
2021-03-05 22:38:43 +01:00

187 lines
7.8 KiB
Plaintext

# Test page
* puce
=> lien1
=> lien2
```
The text as it is in the source code, in a preformatted block.
```
The text as it is rendered, of course the following examples will have identical preformatted content and rendered content.
```
* single line
```
* single line
```
* line one
* line two
```
* line one
* line two
```
*incorrect list because there's no space right after the star.
```
*incorrect list because there's no space right after the star.
```
Below, a line with just one star, must be rendered as is.
*
```
Below, a line with just one star, must be rendered as is.
*
```
Below, a line with one star and one space, must be a single <li>
*
```
Below, a line with one star and one space, must be a single <li>
*
```
Below, a line with one star and two spaces, must be a single <li>
*
```
Below, a line with one star and two spaces, must be a single <li>
*
```
Below, two lines with one star, must be single <li>
*
*
```
Below, two lines with one star, must be single <li>
*
*
```
# h1
## h2
### h3
#### h4 (Should be read as h3)
```
# h1
## h2
### h3
#### h4 (Should be read as h3)
```
Four spaces between the quotes " ", shrinked in HTML
```
Four spaces between the quotes " ", shrinked in HTML
```
^^^
Plain text link: https://website.com/
^^^
```
^^^
Plain text link: https://website.com/
^^^
```
Link with double slash: http://truc
```
Link with double slash: http://truc
```
^ Link inside a single non-decorated line: http://truc
```
^ Link inside a single non-decorated line: http://truc
```
Below this line, just "=>" will be ignored and displayed as is.
=>
```
Below this line, just "=> " will be ignored and displayed as is.
=>
```
=> gemini://somesite
```
=> gemini://somesite
```
=> gemini://somesite label of the website
```
=> gemini://somesite label of the website
Du **gras**…
Encore du **gras** !
__This line starts with two _ and none at the end.
The formatting stays in the physical line.
Below, headers with spaces at the beginning of the line:
# Missed h1, there's a space as a first character.
# Missed h2, there are two spaces as first characters.
# Below this line, three empty lines:
# Two long lines, without empty line in-between:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
# Some links
=> Link_without_label
=> Link link with label
=>Link_without_label
=>Link link with label
=>gemini://site.com gemini://site.com
### Links made of only dots, and spaces after
=> .
=> ..
=> ...
# Preformatted text
``` Preformatted text
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
< apt install cowsay >
--------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
<b>Not in HTML bold</b> and not in **markup bold**
```
# Quotations
## Two consecutives physical lines of quotations
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
## Two separated physical lines of quotations
> Quotations: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
> Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
##One line of empty quotation:
>
##Two lines of empty quotations:
>
>
** Text using <b>.
//Text using <i>.
~~Text using <del>.
__Text using <u>.
Text having words in **bold**, //italic//, ~~deleted~~, __underlined__.
And some other mixed: **//bold italic// ~~bold deleted~~** //~~**italic deleted bold.