Hi, thanks a lot! it's always fun to receive compliments!
My blog is indeed using sapper framework (so I'm automatically using svelte :) ) - it can be compared with Next.JS (for react).
I'm using XState for the state of the article - if you select text, you'll see a button to send me a message (which is in a form). To handle the transition between these states, I'm using XState. For more info see State machine code and component code.
The code blocks (and highlights) are custom made - see the code for more info. To style it i'm using Prism and a custom css
I hope this answers your question, if not feel free to ask more details.
Hi, thanks a lot! it's always fun to receive compliments!
My blog is indeed using sapper framework (so I'm automatically using svelte :) ) - it can be compared with Next.JS (for react).
I'm using XState for the state of the article - if you select text, you'll see a button to send me a message (which is in a form). To handle the transition between these states, I'm using XState. For more info see State machine code and component code.
The code blocks (and highlights) are custom made - see the code for more info. To style it i'm using Prism and a custom css
I hope this answers your question, if not feel free to ask more details.
Thanks a lot sir.