@chepchik/codehike-without-mdx
v0.1.0
Published
Fork of Code Hike focused on React + JSX, without MDX pipeline
Maintainers
Readme
codehike-without-mdx
Fork of Code Hike focused on JSX-first usage without MDX plugins.
Install
npm i @chepchik/codehike-without-mdxUsage
import { ScrollyCoding, ScrollyStep } from "@chepchik/codehike-without-mdx/react"
import { Pre, highlight } from "@chepchik/codehike-without-mdx/code"Included Modules
@chepchik/codehike-without-mdx/react:ScrollyCoding,ScrollyStepCodeTabs,TabFocusCode,focus,withFocusRangesCode,useHighlightedCode
@chepchik/codehike-without-mdx/code:highlight,Pre,Inline- low-level
InnerPre,InnerLine,InnerToken,getPreRef
codehike-without-mdx/utils/*:- token transitions
- selection/scroller helpers
- static fallback helpers
Removed From Upstream
- MDX compile pipeline (
remark/recmaplugins) - MDX block parser API (
parse,parseRoot,parseProps,blocks) - auxiliary
remark-codehikeandrecma-codehikepackages
