Skip to content

Instantly share code, notes, and snippets.

View filipesmedeiros's full-sized avatar
🏫
Studying

Filipe Medeiros filipesmedeiros

🏫
Studying
View GitHub Profile
@filipesmedeiros
filipesmedeiros / mastodon-membership.md
Last active April 6, 2023 07:23
Moved to Codeberg. Small script, personalised for mastodon.green, to highlight Mastodon accounts whose email have no corresponding Patreon or Steady active membership.
@filipesmedeiros
filipesmedeiros / TeX.tsx
Created December 23, 2022 01:23
react-katex for React Server Component
import katex, { type KatexOptions, ParseError } from 'katex'
import { type ComponentProps, type ReactElement } from 'react'
export type Props<T extends keyof JSX.IntrinsicElements = 'div'> =
ComponentProps<T> &
Partial<{
as: T
block: boolean
errorColor: string
renderError: (error: ParseError | TypeError) => ReactElement