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’m using MDX and I added remark-deflist as a plugin so I could so something like this:
term
: description and here is a <ExternalLinkhref="http://somewhere.com">link</ExternalLink>
I assumed that would work but it seems to throw an error. I don’t totally understand why, but MDX is new-ish and has some quirks so when I hit one I usually work around it.
Next I tried remark-attr and did something like this.
term
: description and here is a [link](https://somewhere.com){ target="_blank" rel="noopener noreferrer" }.
This didn’t work either which seemed a bit more surprising. I thought maybe it was a plugin ordering thing, like remark-deflist had to be before remark-attr but that didn't seem to make a difference.
I’m a bit new to remark so I’m not sure whether this should work or not, but it seems like it should?
The text was updated successfully, but these errors were encountered:
I’m using MDX and I added
remark-deflist
as a plugin so I could so something like this:I assumed that would work but it seems to throw an error. I don’t totally understand why, but MDX is new-ish and has some quirks so when I hit one I usually work around it.
Next I tried
remark-attr
and did something like this.This didn’t work either which seemed a bit more surprising. I thought maybe it was a plugin ordering thing, like
remark-deflist
had to be beforeremark-attr
but that didn't seem to make a difference.I’m a bit new to remark so I’m not sure whether this should work or not, but it seems like it should?
The text was updated successfully, but these errors were encountered: