diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2024-05-04 23:34:37 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2024-05-04 23:34:37 -0300 |
| commit | c1360c4f0b111143747bad6226df6f00499f5cfe (patch) | |
| tree | 7416ae7c691be23e111649fab2d9271666881424 /54.md | |
| parent | f393df80361da9226be131f0e91970268bb6be2d (diff) | |
nip54: add normalization rules.
Diffstat (limited to '54.md')
| -rw-r--r-- | 54.md | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -21,7 +21,12 @@ Articles are identified by lowercase, normalized ascii `d` tags. | |||
| 21 | } | 21 | } |
| 22 | ``` | 22 | ``` |
| 23 | 23 | ||
| 24 | [INSERT NORMALIZATION EXAMPLES] | 24 | ### `d` tag normalization rules |
| 25 | |||
| 26 | - Any non-letter character MUST be converted to a `-`. | ||
| 27 | - All letters MUST be converted to lowercase. | ||
| 28 | |||
| 29 | ### Content rules | ||
| 25 | 30 | ||
| 26 | The content should be Markdown, following the same rules as of [NIP-23](23.md), although it takes some extra (optional) metadata tags: | 31 | The content should be Markdown, following the same rules as of [NIP-23](23.md), although it takes some extra (optional) metadata tags: |
| 27 | 32 | ||