Replies: 2 comments 1 reply
-
|
For reference, this behavior has been produced with these versions: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Couldn't find a way to do it cleanly so in the mean time I just hard-coded these icons and style with custom CSS: kdeldycke/click-extra@65ad0de |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The root of my Sphinx documentation is a
index.mdfile containing atoctreedirective. Nothing special in that and everyone does it.Being written in the MyST dialect, my
toctreelooks like that:Now I would like to prefix each entry with an icon of my choice.
My intuition was to do something like that (based on
sphinx-designdocumentation):Or:
But none works. Worse: the entry gets hidden if I prefix it with
:octicon:or{octicon}.How can I do that? Is it a case supported by Furo?
Working case
Note that icons in titles are properly rendered as such in the index, as pointed out previously in #910:
# {octicon}`shield-check` CLI testing ...Renders to:
Beta Was this translation helpful? Give feedback.
All reactions