You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
2.0.0
Link to runnable example
No response
Steps to reproduce
source code
Expected behavior
When I want to turn off certain constructs in the parser of remark, such as strong, I can pass attention to disable.null. But when I want to turn off constructs in GFM, such as strikethrough, I have no way unless I stop using remark-gfm altogether and instead selectively incorporate the functions I need.
Actual behavior
Upon examining the code, I discovered that it is this particular line of code that activates the passed disable.null.
Initial checklist
Affected packages and versions
2.0.0
Link to runnable example
No response
Steps to reproduce
source code
Expected behavior
When I want to turn off certain constructs in the parser of remark, such as
strong
, I can passattention
todisable.null
. But when I want to turn off constructs in GFM, such asstrikethrough
, I have no way unless I stop usingremark-gfm
altogether and instead selectively incorporate the functions I need.Actual behavior
Upon examining the code, I discovered that it is this particular line of code that activates the passed
disable.null
.But in https://github.com/micromark/micromark-extension-gfm-strikethrough/blob/ffa5ca5d0014667ed6c90625037b942cd7761c3c/dev/lib/syntax.js#L38, there isn't a
name
attribute.So, would it be more appropriate to include the
name
attribute?Relevant
zestedesavoir/zmarkdown#416 (comment)
remarkjs/remark-gfm#34 (comment)
#6 (comment)
Runtime
Node v16
Package manager
pnpm
OS
macOS
Build and bundle tools
Vite
The text was updated successfully, but these errors were encountered: