twardoch / remark-mark-plus

Plugin for remark to allow ==Text me== -> <mark>Text me</mark>
MIT License
3 stars 0 forks source link

Still maintained? errors #6

Closed sebastienbarre closed 2 years ago

sebastienbarre commented 2 years ago

Hello

I was just wondering if this package was still maintained?

I was trying to use it from MDX, and got the following errors:

Cannot read properties of undefined (reading 'inlineTokenizers')

I cloned the repo, tried to run the tests, to no avail unfortunately:

npm run test  

> remark-mark-plus@1.0.21 test
> jest

 FAIL  __tests__/index.js
  ● Test suite failed to run

    TypeError: /Users/sebastien.barre/Development/Src/playground/remark-mark-plus/__tests__/index.js: Cannot read properties of null (reading 'bindings')

      at Scope.moveBindingTo (node_modules/@babel/traverse/lib/scope/index.js:993:13)
      at BlockScoping.updateScopeInfo (node_modules/babel-plugin-transform-es2015-block-scoping/lib/index.js:364:17)
      at BlockScoping.run (node_modules/babel-plugin-transform-es2015-block-scoping/lib/index.js:330:12)
      at PluginPass.BlockStatementSwitchStatementProgram (node_modules/babel-plugin-transform-es2015-block-scoping/lib/index.js:70:24)
      at newFn (node_modules/@babel/traverse/lib/visitors.js:177:21)
      at NodePath._call (node_modules/@babel/traverse/lib/path/context.js:53:20)
      at NodePath.call (node_modules/@babel/traverse/lib/path/context.js:40:17)
      at NodePath.visit (node_modules/@babel/traverse/lib/path/context.js:100:31)
      at TraversalContext.visitQueue (node_modules/@babel/traverse/lib/context.js:103:16)
      at TraversalContext.visitSingle (node_modules/@babel/traverse/lib/context.js:77:19)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.26 s

Thank you

twardoch commented 2 years ago

I hacked it together based on some existing models but I'm not really much of a JS dev. It used to work but I haven't used it much recently.

sebastienbarre commented 2 years ago

Thank you

talatkuyuk commented 1 year ago

I receive the same error. Is there anybody to handle this plugin in operational? I will really appreciate him/her.