Skip to content

Commit

Permalink
rm unused content
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbermanssw committed Oct 9, 2024
1 parent d3847ba commit 17acd57
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions utils/blog_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');

Expand Down

0 comments on commit 17acd57

Please sign in to comment.