@@ -384,11 +384,10 @@ of the following attributes: ``aria-label``, ``aria-labelledby`` or ``title``.
384
384
If you don't want to set ``aria-hidden="true" `` for a specific icon, you can
385
385
explicitly set the ``aria-hidden `` attribute to ``false ``:
386
386
387
- .. code-block :: twig+ html
387
+ .. code-block :: html+twig
388
388
389
389
<twig:ux: icon name="user-profile" aria-hidden="false" />
390
390
391
-
392
391
Performance
393
392
-----------
394
393
@@ -458,7 +457,7 @@ returning the HTML output.
458
457
459
458
The <twig:ux: icon> component does not support embedded content.
460
459
461
- .. code-block :: twig+ html
460
+ .. code-block :: html+twig
462
461
463
462
{# The 🧸 will be ignore in the HTML output #}
464
463
<twig:ux: icon name="user-profile" class="w-4 h-4">🧸</twig:ux: icon>
@@ -519,8 +518,8 @@ Full Configuration
519
518
Learn more
520
519
----------
521
520
522
- * :doc: `Creating and Using Templates < /templates >`
523
- * :doc: `How to manage CSS and JavaScript assets in Symfony applications < /frontend >`
521
+ * `Creating and Using Templates `_
522
+ * `How to manage CSS and JavaScript assets in Symfony applications `_
524
523
525
524
.. _`SVG` : https://en.wikipedia.org/wiki/SVG
526
525
.. _`ux.symfony.com/icons` : https://ux.symfony.com/icons
@@ -539,3 +538,5 @@ Learn more
539
538
.. _`Octicons` : https://github.com/primer/octicons/
540
539
.. _`Phosphor Icons` : https://github.com/phosphor-icons/homepage
541
540
.. _`Tabler Icons` : https://github.com/tabler/tabler-icons
541
+ .. _`Creating and Using Templates` : https://symfony.com/doc/current/templates.html
542
+ .. _`How to manage CSS and JavaScript assets in Symfony applications` : https://symfony.com/doc/current/frontend.html
0 commit comments