tinyrelayfile
tinyrelay/internal/wiki/doc.go/

internal/wiki/doc.go raw
1// Package wiki implements storage-independent NIP-54 article behavior.
2//
3// Normalize converts a title to an article d tag. Links discovers wikilinks,
4// reference links and nostr: targets in Djot content. RenderHTML supports the
5// article syntax used by the relay, escapes text and unsafe link targets, and
6// returns template HTML for server-side insertion. RenderHTMLWith accepts a
7// fenced-block callback so custom views can replace selected code blocks.
8package wiki

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs