diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-07-05 19:25:20 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-07-05 19:25:20 +0000 |
| commit | 43f4d53de6147c46d07404c49383a3e46249d01b (patch) | |
| tree | af5ffbbe5b4feb94565ffd60cf6cd8a2f625d946 /docutils/test/functional/expected/misc_rst_html4css1.html | |
| parent | 3041b394781751899ba434145acf747c058e2c47 (diff) | |
| download | docutils-43f4d53de6147c46d07404c49383a3e46249d01b.tar.gz | |
HTML5: small tweaks
Move space character between section number and heading
into "sectnum" span. Simplify code in _html_base.py.
responsive.css: highlight target of current URL,
show an arrow when hovering over section heading
to hint at the target of toc-backlinks.
Test setting `--toc_backlinks=top` and the "responsive.css" stylesheet.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8787 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/misc_rst_html4css1.html')
| -rw-r--r-- | docutils/test/functional/expected/misc_rst_html4css1.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docutils/test/functional/expected/misc_rst_html4css1.html b/docutils/test/functional/expected/misc_rst_html4css1.html index b6e94b6e9..486f58548 100644 --- a/docutils/test/functional/expected/misc_rst_html4css1.html +++ b/docutils/test/functional/expected/misc_rst_html4css1.html @@ -56,6 +56,9 @@ </div> <div class="section" id="substitutions-fail"> <h2>Substitutions work</h2> +<p>Note, that the "reference name" for this section is derived from the +content <em>before</em> substitution. This may be exploited to get intelligible +IDs after <a class="reference external" href="https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization">identifier normalization</a> of the section's reference name.</p> </div> </div> </div> |
