doc: add pre formatted text tag

This commit is contained in:
Artemy Egorov 2024-08-02 19:49:33 +03:00
parent 8154104eed
commit 44ae5868b4
2 changed files with 18 additions and 0 deletions

View file

@ -9,6 +9,7 @@
Markup language ecosystem сombining small file size, big number of possibilities for describing the interface and readability. Markup language ecosystem сombining small file size, big number of possibilities for describing the interface and readability.
[Specification](./specification/main.md). [Specification](./specification/main.md).
[Rust implementation](https://github.com/TxtDot/dalet-rs)
> [!WARNING] > [!WARNING]
> Specification is not complete and very unstable. > Specification is not complete and very unstable.

View file

@ -535,3 +535,20 @@ Creates code block.
```txt ```txt
code[js]: let code = "js" code[js]: let code = "js"
``` ```
## 29. Pre-formatted text
| Property | Description |
| -------- | -------------- |
| name | pre |
| id | 29 |
| body | text |
| argument | no |
Creates pre formatted text block. Like code but without style and highlight.
**Daleth example**:
```txt
pre: I am pre
```