Skip to content

Commit

Permalink
Update documentation to reflect support for leader().
Browse files Browse the repository at this point in the history
Leader support was added in Kozea#1309.
  • Loading branch information
xavidotron committed Mar 22, 2024
1 parent 2d7c9a2 commit 913a8b5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,17 @@ and do not wish to include it in the bookmarks, add this in your stylesheet:
h1 { bookmark-level: none }
`Leaders`_ are also supported:

.. code-block:: css
li a::after {
content: ' ' leader(dotted) ' ' target-counter(attr(href), page);
}
The other features of this module are **not** implemented:

- quotes (``content: *-quote``);
- leaders (``content: leader()``).

.. _CSS Generated Content Module Level 3: https://www.w3.org/TR/css-content-3/
.. _Quotes: https://www.w3.org/TR/css-content-3/#quotes
Expand All @@ -495,6 +502,7 @@ The other features of this module are **not** implemented:
.. _an example: https://github.com/Kozea/WeasyPrint/pull/652#issuecomment-403276559
.. _PDF bookmarks: https://www.w3.org/TR/css-content-3/#bookmark-generation
.. _user agent stylesheet: https://github.com/Kozea/WeasyPrint/blob/main/weasyprint/css/html5_ua.css
.. _Leaders: https://www.w3.org/TR/css-content-3/#leaders

CSS Color Module Level 3
++++++++++++++++++++++++
Expand Down

0 comments on commit 913a8b5

Please sign in to comment.