Thanks but the last says "unmaintained" and the first hasn't been updated to XF 2.3.As a different approach you may like this add on:
Easily create rules and group them into categories. Bring the power of law to your community!
For your current one maybe this would help:
Yes, but I have several topics with #3 headings per post and I would like a link back positioned after each heading and as a small icon, like so e.g. where the tooltip in my User Guide would say: jump back to the index:


<h4>title</h4> tags) you will need to style those as being inline. [menulink="/foo/bar"][HEADING=3]section header A[/HEADING][/menulink] . If the BBCode HTML replacement were something like: <div class="menulink">{text} <a href="/threads/{option}">^^^</a></div> and you additionally styled the "menulink" in your extra.css template with something like: div.menulink>h4.bbHeading { display: inline; } I'd have thought that would get you what you're after. [menu=main] ... [/menu] which dumped in an HTML anchor and then maybe each menulink (or whatever you call it) tag can just be a fragment to the name of that menu, ie [menulink=main] header [/menulink] which might be neater. Anyhow I'd be doing something along these lines I think to create what you're after.<span id="menu_{option}">{text}</span>. In my tests I've not added any regular expressions to limit the option, but for production you'd want to restrict that to say just a-z and 0-9 for instance.
<div class="menulink">{text} <a href="#menu_{option}">^^{option}^^</a></div>. I just used some text surrounded by carets for my link back, but it could just as easily be an icon or some UTF8 icon, etc. Once again for production you'd want to limit the option so it can't be abused.
[HEADING=3] generates a <h4> tag and given we're wrapping that [HEADING=3] in our [menulink] tag we can easily target it with some CSS like so in our extra.css template:div.menulink>h4.bbHeading { display: inline; }
[menu=top] whatever [/menu] BBCode in that post. Then somewhere later in another post (limitation - on the same page) we have the link back thus:... Fusce erat turpis, volutpat non sem eu, tincidunt bibendum erat. Donec ultricies velit eu sapien auctor, at mattis leo mollis. Cras quis magna ullamcorper, condimentum nisi ac, bibendum ipsum. Phasellus et convallis metus, at ornare ante.
[menulink=top][heading=3]A heading[/heading][/menulink]
Pellentesque sed lacus faucibus, rhoncus nisi a, imperdiet nisl. Nam tincidunt ligula vitae elit lobortis placerat. Nunc porttitor iaculis ligula laoreet aliquam. Nunc lacus erat, convallis ut tempor feugiat, sagittis vitae augue. Aenean pretium felis at lacus rhoncus scelerisque. Sed in volutpat odio. Morbi eget tortor sem. Suspendisse vestibulum leo sit amet augue vestibulum, a pretium turpis semper. Etiam interdum commodo gravida. Sed dictum massa quis risus ornare, at cursus turpis molestie. Quisque ut ipsum augue. Vivamus a lobortis tellus, vitae pellentesque lectus.

#menu_top identifier which is the span tag created by our [menu=top] whatever [/menu] in the hypothetical first post. The finished test looks like so:
We use essential cookies to make this site work, and optional cookies to enhance your experience.