codehike icon indicating copy to clipboard operation
codehike copied to clipboard

Support for native Svelte

Open muellerzr opened this issue 3 years ago • 1 comments

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? :)

muellerzr avatar Oct 04 '22 15:10 muellerzr

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

pomber avatar Oct 08 '22 10:10 pomber

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

may17 avatar Dec 02 '22 18:12 may17

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

pomber avatar Jan 31 '23 20:01 pomber

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.

texastoland avatar Jun 29 '23 23:06 texastoland