Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

Stripping MDX tags

by Roy Revelt   ·   posted on Tuesday, 11 May 2021   ·   a thoughtmeta

Interestingly, the non-parsing algorithm of string-strip-html is paying off. It strips JSX tags from MDX! I’m using it myself, on this website, to build the fuse.js search indexes.

↑ back to top
older newer

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab