prune: remove twitter embed

This commit is contained in:
Julien Calixte
2026-03-07 19:03:06 +01:00
parent 7ca922e0a6
commit 908641e54b
3 changed files with 0 additions and 57 deletions

View File

@@ -1,10 +0,0 @@
import { markdownItPlugin } from '@/utils/markdown/markdown-it-regexp'
export const twitterPlugin = markdownItPlugin(
/@\[tweet]\((.*?)\)/g,
(matches: RegExpExecArray[]) => {
const [, tweetId] = matches
return `<span id="tweet-${tweetId}" data-tweet-id="${tweetId}" class="markdown-tweet"></span>`
}
)