extension

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Nostr = &nostr{}

Functions

func New added in v0.0.3

func New(opts ...NostrOption) goldmark.Extender

func NewNostrParser

func NewNostrParser(opts ...NostrOption) parser.InlineParser

Types

type NostrConfig

type NostrConfig struct {
	NostrLink string
	Strict    bool
}

type NostrOption

type NostrOption interface {
	parser.Option
	SetNostrOption(*NostrConfig)
}
func WithNostrLink(link string) NostrOption

func WithStrict added in v0.0.3

func WithStrict() NostrOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL