Skip to content

discussions Search Results · repo:code-hike/codehike language:JavaScript

48 results
 (93 ms)

48 results

incode-hike/codehike (press backspace or delete to remove)

Hi everyone! After the last few months of building a new docs framework at LiveSession, we’re opening it to the community: xyd.dev xyd unifies narrative docs with API references (OpenAPI GraphQL) and ...

I tryed to write a simple compoent like this: export type CodeBlockProps = { code: string; lang?: string; }; const CodeBlock = ({ code, lang = typescript }: CodeBlockProps) = { const highlightCode ...

I was wondering if there is an easy way to do the mkdocs-style highlights for code fences with annotators or similar, that is to do something like this: ```lang hl_lines= 1 3 6-7 line 1 is higlighted ...

I m unable to include a copy button within the code block when using code-hike in a docusaurus document. export function MyCode({ codeblock }: { codeblock: HighlightedCode }) { return ( div className= ...

Enabling toc on fumadocs causes all htags from codehike components to be included. Is there a way to exclude them? CleanShot 2024-10-15 at 15 35 15@2x
  • ZYJLiuposted
    on Oct 15, 2024
  • 4

Code reproduction: Stackblitz I am trying to configure codehike with Fumadocs version 13. On the page of /docs, I created new code block example called borderHandler just for testing and configured into ...

I am using Codehike with Docusaurus. I would like to add tooltips. The example in the docs show us checking the props on the which contains a CodeBlock property and tooltips. async function CodeWithTooltips(props: ...

I m working on the next major version of Code Hike. The plan is to release it in April 2024 with a new website, playground, and docs. Beta versions will be available before that. A key focus for v1.0 ...
  • pomberposted
    on Nov 28, 2023
  • 20

Hello, I have a use case where I d like be able to fetch code from an external source and than use Code-hike to display it. So far I ve only had luck with replacing sections of markdown before it s serialised ...

We have a CH.Code with multiple code samples to be rendered as tabs. We are using each tab for a particular programming language: image What I d like to do is pre-select a tab based on a previously saved ...