Open westurner opened 5 years ago
This should be optional so that copy/paste to non-HTML formats doesn't break links (and strip the helpful https:// part)
One approach would be to store the original link text as an extra attribute and revert when the toggle checkbox is clicked.
This could be very helpful on mobile devices.
Additional patterns:
[EDIT]
The code for this lives in westurner/sphinx_wrd_theme: https://github.com/westurner/wrd_sphinx_theme/blob/master/wrd_sphinx_theme/template/static/js/linkstyles.js