Published: Mon 29 April 2024
By octt
In posts .
tags: formatting diagrams
This is an example post with some typograms code.
```typograms
+----+
| |---> My first diagram!
+----+
```
Which generates:
+----+
| |---> My first diagram !
+----+
Another example:
```typograms
.------------------------.
|.----------------------.|
||"https://example.com" ||
|'----------------------'|
| ______________________ |
|| ||
|| Welcome! ||
|| ||
|| ||
|| .----------------. ||
|| | username | ||
|| '----------------' ||
|| .----------------. ||
|| |"*******" | ||
|| '----------------' ||
|| ||
|| .----------------. ||
|| | "Sign-up" | ||
|| '----------------' ||
|| ||
|+----------------------+|
.------------------------.
```
which generates:
. ------------------------ .
| . ---------------------- . |
||"https://example . com" ||
|' ---------------------- '|
| ______________________ |
|| ||
|| Welcome! ||
|| ||
|| ||
|| . ---------------- . ||
|| | username | ||
|| ' ---------------- ' ||
|| . ---------------- . ||
|| |"*******" | ||
|| ' ---------------- ' ||
|| ||
|| . ---------------- . ||
|| | "Sign - up" | ||
|| ' ---------------- ' ||
|| ||
| +----------------------+ |
. ------------------------ .
For more examples, check out the typograms documentation .
Proudly powered by Pelican , which takes great advantage of Python .
The theme is by Smashing Magazine , thanks!