Titus
Titus
That pull requests (code solving this or other issues) are welcomed by this project, as it is unlikely anyone will get to it soon otherwise!
They seem to change all the time: https://github.com/words/powerthesaurus-api/issues?q=is%3Aissue+is%3Aclosed PRs welcome to help out with a more solid solution
@zeke should we deprecate this perhaps? Their stuff keeps changing... 😩
a little introduction on this: https://web.dev/sanitizer/
Seems the API just changed a ton. Seems back at the drawing board. So good to wait some more before doing this!
Here are some more examples: ```markdown a ***b*c d* a \***b*c d* a ***b* d* a \***b* d* ``` Yields ([CM dingus](https://spec.commonmark.org/dingus/?text=a%20***b*c%20d*%0A%0Aa%20%5C***b*c%20d*%0A%0Aa%20***b*%20d*%0A%0Aa%20%5C***b*%20d*)): ```html a *bc d a ***bc d a...
I came up with a way to solve this, I think: https://github.com/syntax-tree/unist/discussions/60#discussioncomment-2111096.
@romanzipp this has been solved for a while in remark and friends!
> I also have an alternative branch locally which accepts only one generic, which is the type of the jsx function. that sounds pretty nice 🤔 why not?
> `${jsxPragma}.JSX` It sounds like we could use that registry here to type which components are allowed? Why not use that? > `toJsxRuntime to TypeScript` Curious to hear more about...