nip54: add normalization rules.

This commit is contained in:
fiatjaf 2024-05-04 23:34:37 -03:00
parent f393df8036
commit c1360c4f0b

7
54.md
View File

@ -21,7 +21,12 @@ Articles are identified by lowercase, normalized ascii `d` tags.
} }
``` ```
[INSERT NORMALIZATION EXAMPLES] ### `d` tag normalization rules
- Any non-letter character MUST be converted to a `-`.
- All letters MUST be converted to lowercase.
### Content rules
The content should be Markdown, following the same rules as of [NIP-23](23.md), although it takes some extra (optional) metadata tags: The content should be Markdown, following the same rules as of [NIP-23](23.md), although it takes some extra (optional) metadata tags: