Skip to content

Commit 0d8e2aa

Browse files
committed
docs: plain text lists update
1 parent c532d30 commit 0d8e2aa

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

posts/plain-text-lists.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ keywords: [pico, lists, spec, plain, text]
55
toc: 1
66
---
77

8-
Version: **2022.08.05.dev**
9-
10-
Status: **Draft**
11-
12-
Author: **Eric Bower**
8+
| | |
9+
| ----------- | --------------- |
10+
| **version** | 2026.01.10 |
11+
| **status** | published |
12+
| **site** | https://pico.sh |
1313

1414
The goal of this specification is to understand how we render plain text lists. The overall design of this format is to be easy to parse and render.
1515

@@ -29,7 +29,7 @@ As mentioned, the text format is line-oriented. Each line of a document has a si
2929

3030
# File extension
3131

32-
Plain text lists only supports the `.txt` file extension and will ignore all other file extensions.
32+
Plain text lists only supports the `.lxt` file extension and will ignore all other file extensions.
3333

3434
# List item
3535

@@ -120,20 +120,8 @@ echo "This will not render properly"```
120120

121121
Variables allow us to store metadata within our system. Variables are list items with key value pairs denoted by `=:` followed by the key, a whitespace character, and then the value.
122122

123-
```
124-
=: publish_at 2022-04-20
125-
```
126-
127-
These variables will not be rendered to the user inside the list.
128-
129-
List of available variables:
130-
131123
```
132124
=: title Hello World
133-
=: description A fine description
134-
=: publish_at 2022-04-20
135-
=: tags feature, announcement
136-
=: list_type none
125+
=: date 2022-04-20
126+
=: tags one, two, three
137127
```
138-
139-
`list_type` value gets sent directly to css property [list-style-type](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type)

0 commit comments

Comments
 (0)