1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
HtmGem/tests/test.gmi

187 lines
7.8 KiB
Plaintext
Raw Normal View History

2021-03-01 15:22:22 +01:00
# Test page
2021-03-05 22:38:43 +01:00
* 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
2021-03-01 15:22:22 +01:00
## h2
### h3
#### h4 (Should be read as h3)
2021-03-05 22:38:43 +01:00
```
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/
^^^
2021-03-03 16:07:56 +01:00
2021-03-05 22:38:43 +01:00
```
Link with double slash: http://truc
```
Link with double slash: http://truc
2021-03-02 23:35:53 +01:00
2021-03-05 22:38:43 +01:00
```
^ Link inside a single non-decorated line: http://truc
```
^ Link inside a single non-decorated line: http://truc
2021-03-02 23:35:53 +01:00
2021-03-05 22:38:43 +01:00
```
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** !
2021-03-02 23:35:53 +01:00
2021-03-03 16:07:56 +01:00
__This line starts with two _ and none at the end.
The formatting stays in the physical line.
2021-03-01 15:22:22 +01:00
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
2021-03-04 20:39:54 +01:00
=>gemini://site.com gemini://site.com
2021-03-01 15:22:22 +01:00
### 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 |
|| ||
2021-03-03 16:07:56 +01:00
<b>Not in HTML bold</b> and not in **markup bold**
```
2021-03-01 15:22:22 +01:00
2021-03-03 16:07:56 +01:00
2021-03-01 15:22:22 +01:00
# Quotations
2021-03-03 16:40:22 +01:00
## Two consecutives physical lines of quotations
2021-03-01 15:22:22 +01:00
> 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.
2021-03-03 16:40:22 +01:00
## Two separated physical lines of quotations
2021-03-01 15:22:22 +01:00
> 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:
>
>
2021-03-05 22:38:43 +01:00
** Text using <b>.
2021-03-01 15:22:22 +01:00
2021-03-05 22:38:43 +01:00
//Text using <i>.
~~Text using <del>.
__Text using <u>.
2021-03-01 15:22:22 +01:00
2021-03-05 22:38:43 +01:00
Text having words in **bold**, //italic//, ~~deleted~~, __underlined__.
And some other mixed: **//bold italic// ~~bold deleted~~** //~~**italic deleted bold.