code-hike / codehike

Build rich content websites with Markdown and React
https://codehike.org
MIT License
4.74k stars 146 forks source link

Support for native Svelte #285

Closed muellerzr closed 1 year ago

muellerzr commented 1 year ago

Hi! I'm interested in using CodeHike for the documentation in a number of my own repos, and potentially integrate it into my companies as well (Hugging Face 🤗 ) for our examples, as I absolutely love the ScrollyCoding and everything in between! One issue though is that it can only be used with React, and our documentation is built on Svelte and Markdown (mdsvex).

Could it be possible to support Svelte natively? :)

pomber commented 1 year ago

Hi! I love Svelte but Code Hike uses a lot of React, so native Svelte support would mean a lot of work.

may17 commented 1 year ago

@pomber just an idea: would it be possible to switch over to native web components? So, any framework could be supported?

pomber commented 1 year ago

Not possible without a lot of work. If I ever rewrite it I'll consider multi framework support.

texastoland commented 1 year ago

Re. #333: I'd also love to use it in Vue if you ever attempt a rewrite. You could potentially compile a lightweight JSX dependency to web components then build higher level components on top.