Skip to content

fedikit/unified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bea870c Β· Jan 25, 2024

History

18 Commits
Jan 16, 2024
Jan 16, 2024
Jan 5, 2024
Jan 25, 2024
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024
Jan 16, 2024
Jan 5, 2024
Jan 16, 2024
Jan 16, 2024
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024
Jan 5, 2024

Repository files navigation

fedikit/unified

Collection of unified plugins by FediKit project.

Rehype plugin to support custom emoji (emojo)

import { rehype } from 'rehype'
import { rehypeCustomEmoji, all } from '@fedikit/rehype-custom-emoji'

await rehype()
  .use(rehypeCustomEmoji, {
    emojis: await all('https://mastodon.social')
  })

Remark plugin to replace acct mentions with links

import { remark } from 'remark'
import { remarkWebfingerMentions } from '@fedikit/remark-webfinger-mentions'

await remark()
  .use(remarkWebfingerMentions)

Releases

No releases published

Packages

No packages published