[BACK]Return to tag.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fo / tag.out_html (download)

Revision 1.2, Tue Apr 7 22:56:09 2020 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.1: +6 -7 lines

Separate the place to put the <a href> permalink (now marked
with NODE_HREF) from the target element of the link (still marked
with NODE_ID).  In many cases, use this to move the target to the
beginning of the paragraph, such that readers don't get dropped
into the middle of a sentence.

<p class="Pp" id="first">automatic:
    <a class="permalink" href="#first"><code class="Fn">first</code></a>() and
    <code class="Fn">second</code>()</p>
<p class="Pp" id="second"><a class="permalink" href="#second"><code class="Fn">second</code></a>()
    and <code class="Fn">first</code>()</p>
<p class="Pp" id="e3">explicit:
    <a class="permalink" href="#e3"><code class="Fn">third</code></a>() and
    <a class="permalink" href="#e4"><code class="Fn" id="e4">fourth</code></a>(<var class="Fa">void</var>);</p>