opensource-construction / website

os.c website, content and design components
https://opensource.construction
MIT License
2 stars 4 forks source link

Feature - direct md injection #43

Open karim-daw opened 2 weeks ago

karim-daw commented 2 weeks ago

Updates

Still wip

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opensource-construction ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 7:50am
karim-daw commented 2 weeks ago

@n0rdlicht, shall we go through this in the next days? I have some ideas on using md sanitation libs to ensure that the mds arnt malicious in anyway but perhaps we can disucss a strategy on getting other content through like gifs, images and videos via this link.

n0rdlicht commented 2 weeks ago

@n0rdlicht, shall we go through this in the next days? I have some ideas on using md sanitation libs to ensure that the mds arnt malicious in anyway but perhaps we can disucss a strategy on getting other content through like gifs, images and videos via this link.

Also started thinking when going through the PR and starting to work on design.opensource.construction. Currently we are using https://github.com/hashicorp/next-mdx-remote to read in the MDX files from the repo. But it's a bit messy and not very well architected yet. Maybe @rhughes42 has a better idea how we could combine these topics.

If possible and you agree I would like to delay this a tiny bit, so we don't mix this with the launch next Wednesday.

karim-daw commented 2 weeks ago

Yeah that works for me. I can also do some research on how to address using that library.