Files
grimoire/package.json
Claude 1ddbcca810 feat: implement NIP-54 wiki article rendering with Asciidoc
Adds full support for NIP-54 wiki articles (kind 30818) with Asciidoc rendering:

- Install @asciidoctor/core for Asciidoc to HTML conversion
- Create AsciidocContent component for rendering wiki content with:
  - Wikilink support ([[article-name]] or [[target|display text]])
  - Basic nostr: link rendering (TODO: full parsing)
  - Prose styling matching markdown articles
- Create WikiRenderer (feed view) showing title and summary
- Create WikiDetailRenderer (detail view) with full article content
- Create WikiViewer component to query and display wiki articles by subject
- Add wiki command to man pages with subject normalization
- Register wiki appId and renderers in the rendering system
- Add CSS styles for Asciidoc content elements and wikilinks

Wiki articles can be opened with: wiki <subject>
Subject is automatically normalized per NIP-54 (lowercase, hyphens, etc.)
2026-01-16 22:20:24 +00:00

3.6 KiB