codehike
codehike copied to clipboard
Marvellous code walkthroughs
Handles a case where the focus string contains line index(es) that are larger than the last line's index. Throws an error. Added tests to cover that function.
Including the `triggerPosition` setting in the [docusaurus.config.js](https://github.com/ZYJLiu/docusaurus-codehike/blob/main/docusaurus.config.js#L50) file doesn't apply the setting. Am I adding the setting in the wrong place? The triggerPosition for scrollycoding still seems to be `50%`....
Thanks for building and maintaining codehike! Awesome tool Requesting ability to reference the separate sections of the same file using `from` annotation mentioned from [discussions](https://github.com/code-hike/codehike/discussions/309) ```` ```js // from ./foo.js...
We could have a more general version of [code mentions](https://codehike.org/docs/ch-section#code-mentions). Code mentions are text-to-code links, but we could have code-to-text also. But also code-to-code, code-to-preview and preview-to-code. For code-to-code imagine...
Hi @pomber first of all thanks for this amazing library! ### Proposed feature We are using Code Hike to display snippets of code in our dashboard/documentation. Most of them are...
I am experimenting with the codehike source, especially with the Scrollycoding component and its subcomponents. The component EditorSpring and, more specifically, in the hook useStepSpring, another hook useSpring gets used,...
📦 Published PR as canary version: 0.9.1--canary.389.b62037f.0 :sparkles: Test out this PR locally via: ```bash npm install @code-hike/[email protected] # or yarn add @code-hike/[email protected] ```
Hi! Thanks for creating this amazing library, I am really loving it so far. I created this issue because I am wondering if it is possible to make the CH.Spotlight...
I'm working on a docs site that has multiple different page layouts. Depending on the page, I want to be able to override the `codeConfig` options on the component level....
Hi! 👋 Trying to get the `examples/vite` from https://github.com/code-hike/codehike/tree/next/examples/vite up and got the following error after running the `yarn install` and `yarn dev`: ``` examples/vite git:(next) ▶ yarn dev yarn...