From 44ae5868b49e7b8982feeffebb985009a5d5a0f7 Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Fri, 2 Aug 2024 19:49:33 +0300 Subject: [PATCH] doc: add pre formatted text tag --- README.md | 1 + specification/tags.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index c53c518..a5c2945 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Markup language ecosystem сombining small file size, big number of possibilities for describing the interface and readability. [Specification](./specification/main.md). +[Rust implementation](https://github.com/TxtDot/dalet-rs) > [!WARNING] > Specification is not complete and very unstable. diff --git a/specification/tags.md b/specification/tags.md index 14ca6c9..b705885 100644 --- a/specification/tags.md +++ b/specification/tags.md @@ -535,3 +535,20 @@ Creates code block. ```txt 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 +```