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
Is your feature request related to a problem? Please describe.
Sometimes there is a bunch of links in something that are kind of pointless to keep. <a href="javascript:…"> or <a href="#"> are such examples. Especially clickable headlines with a #id can be annoying in markdown results. It should be possible to remove them keeping their content.
<div><a href="#"><h3>Something</h3></a></div> should become <div><h3>Something</h3></div>.
Describe the solution you'd like
For the editor I think something like this might work well: html_unlink: regex.
The regex would match with the href content and replace it.
Describe alternatives you've considered
Something like html_flatten: a[href^='#'] might also be neat replacing matching elements with their content.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Sometimes there is a bunch of links in something that are kind of pointless to keep.
<a href="javascript:…">
or<a href="#">
are such examples. Especially clickable headlines with a#id
can be annoying in markdown results. It should be possible to remove them keeping their content.<div><a href="#"><h3>Something</h3></a></div>
should become<div><h3>Something</h3></div>
.Describe the solution you'd like
For the editor I think something like this might work well:
html_unlink: regex
.The regex would match with the
href
content and replace it.Describe alternatives you've considered
Something like
html_flatten: a[href^='#']
might also be neat replacing matching elements with their content.The text was updated successfully, but these errors were encountered: