code-surfer icon indicating copy to clipboard operation
code-surfer copied to clipboard

Import code from file not working with mdx-deck@4

Open donysukardi opened this issue 4 years ago • 3 comments

I can't seem to get the following to work with mdx-deck@4. It's currently just showing blank screen. I don't think it's even reading the file.

<CodeSurfer>
    
```js 5:10 file=./file.js
```
    
</CodeSurfer>

donysukardi avatar Dec 01 '20 10:12 donysukardi

Same issue. Just installed today 2021.01.27 "mdx-deck": "^4.1.1" "code-surfer": "^3.1.1",

craig-o-curtis avatar Jan 27 '21 23:01 craig-o-curtis

See https://github.com/jxnblk/mdx-deck/issues/670

pomber avatar Jan 28 '21 03:01 pomber

As I understand CodeSurfer is intended to use with mdx-deck@3 since it has a corresponding peer dependency: "mdx-deck": "3.0.10"

fobdy avatar Feb 23 '21 12:02 fobdy