Title |
Test
Find
header 2 anchor
|
Expression |
"{(<h)([1-6])(.id=\")(.+?\")(.+?)(</h[1-6])}",'\\2~<a href="#\\4\\5</a' |
Description |
Easy way to transform header tag to its local referer. I use it to make TOC after reading headers.<br><b> <h# id="identifier">Caption</h#> -> #~<a href="#identifier">Caption</a> </b><br>There is stored original heading's level in output. |
Matches |
<h1 id="tag">Caption</h1> |
Non-Matches |
<H1 id="tag">Caption</H1> |
Author |
Rating:
Not yet rated.
Nocturnator
|
Source |
|
Your Rating |
|