ford icon indicating copy to clipboard operation
ford copied to clipboard

RFE: Links to line number

Open dschwoerer opened this issue 4 years ago • 3 comments

It would be nice to get links to specific line number(s).

dschwoerer avatar Nov 26 '21 09:11 dschwoerer

You mean in docstrings, like [[filename.f90:84]]?

ZedThree avatar Nov 26 '21 09:11 ZedThree

as in I can append #ln-40 to reference line 40. I just checked, and it actually is possible :-D So a way to make it more easily to discover and use:

-<a id="ln-61" name="ln-61"></a>
+<a id="ln-61" name="ln-61" href="#ln-61"></a>

would be nice :-)

dschwoerer avatar Nov 26 '21 10:11 dschwoerer

Understood! That should absolutely be do-able.

ZedThree avatar Nov 26 '21 10:11 ZedThree