There is only one hack without adding directives for this purpose:
<a href="#scroll#example1">Scroll to first Example</a>
The first hash tag will receive an unwanted slash, but the second will work as the default anchor link. The header (in this case "scrolling") of the first hash tag has no effect on this function. This is just semantics. Feel free to invest whatever you want.
source share