Skip to content

Commit

Permalink
👥 remove strip markdown and remark (#2316)
Browse files Browse the repository at this point in the history
* remove strip markdown and remark, replace with custom func and add test case

* rm unused content

* add some more comments :)

* rm testing file
  • Loading branch information
joshbermanssw authored Oct 10, 2024
1 parent e245602 commit 9e93424
Show file tree
Hide file tree
Showing 5 changed files with 322 additions and 326 deletions.
7 changes: 0 additions & 7 deletions indices/createIndices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ const createIndices = async () => {
'Tina-Blogs-Next',
(await Promise.all(blogs.map(mapContentToIndex))).flat()
)

const guides = await fetchGuides()
await saveIndex(
client,
'Tina-Guides-Next',
(await Promise.all(guides.map(mapContentToIndex))).flat()
)
}

createIndices()
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@
"react-slick": "^0.30.2",
"react-tinacms-editor": "^0.53.26",
"rehype-raw": "^6.1.1",
"remark": "^13.0.0",
"remark-directive": "^2.0.1",
"remark-directive-rehype": "^0.4.2",
"remark-gfm": "^3.0.1",
"serve": "^14.2.3",
"slick-carousel": "^1.8.1",
"strip-markdown": "^3.1.1",
"styled-components": "^6.1.13",
"styled-jsx-plugin-sass": "^1.0.0",
"three": "^0.165.0",
Expand Down
Loading

0 comments on commit 9e93424

Please sign in to comment.