diff --git a/utils/blog_helpers.ts b/utils/blog_helpers.ts index ae4e5eeed..4f814243e 100644 --- a/utils/blog_helpers.ts +++ b/utils/blog_helpers.ts @@ -7,11 +7,6 @@ export function orderPosts(posts) { return posts.slice().sort(sortByDate) } -const detectShortcodes = /\{\{(.*?)\}\}/gm -const preStrip = content => { - return content.replace(detectShortcodes, '') -} - export function stripMarkdown(content: string): string { content = content.replace(/\{\{(.*?)\}\}/gm, '');