nextjs-forum icon indicating copy to clipboard operation
nextjs-forum copied to clipboard

Replace `simple-markdown` with another package

Open rafaelalmeidatk opened this issue 1 year ago • 3 comments

It looks like it is not maintained anymore and it is installing old types for @types/react, so we are required to use a resolution field to avoid yarn from installing it

rafaelalmeidatk avatar Jul 22 '23 22:07 rafaelalmeidatk

Does this also extend to discord-markdown because it uses simple-markdown and also seems dead?

RiskyMH avatar Jul 27 '23 23:07 RiskyMH

Good question :thinking: The reason I created this issue was just to avoid using the resolution field on package.json so just replacing our usage of simple-markdown wouldn't be enough if another dependency is installing it. discord-markdown is a little harder to replace so this issue might be stale for a while. Using the resolution field is not thaat big of a deal

rafaelalmeidatk avatar Jul 27 '23 23:07 rafaelalmeidatk

Looks like you can install @khanacademy/simple-markdown which is a more updated version (apparently by the same developer) but that doesn't solve discord-markdown (so unless you can do some weird dependency things, it isn't that useful info)

Source: simple-markdown NPM -> its GitHub readme -> linking repo -> @khanacademy/simple-markdown from readme

(you could also just see that it was by Khan from the original repo url)

RiskyMH avatar Jul 30 '23 08:07 RiskyMH