Rodrigo Pombo
Rodrigo Pombo
Probably the easiest way is to select the text when the editor loads
Safari is an issue.
Apparently Firefox fails when you pass `document` as the root of the IntersectionObserver: ``` TypeError: 'root' member of IntersectionObserverInit does not implement interface Element. ``` `document.documentElement` doesn't work either. Passing...
This fails ```` ```jsx // !Fold[/className="([^"]+)"/g] function Foo() { return ( hey ) } ``` ```` with: `Error: Invalid RegExp string: [/className="([^"]`
```js highlight("console.log(1)", "js", "github-from-css", { scopes: true }) ``` returns ```js "style": { "color": "#000000" }, ``` instead of the CSS var names
#2866 added support for recma plugins, but they are being applied after nextra custom plugins: https://github.com/shuding/nextra/pull/2866/files#diff-529083ef03cb653fd91399220a1a136114d36a4b6fed51cef498562c26a1ac7fR349 User's remark and rehype plugins are applied before any nextra plugin, maybe it will...
When `parseProps` fail we should include the name of the component in the error.