# List with different svg-images

**URL:** <https://forum.xwiki.org/t/list-with-different-svg-images/14406>\
**Category:** Help / Discuss\
**Tags:** syntax\
**Created:** [April 10, 2024, 4:40pm UTC](https://forum.xwiki.org/t/list-with-different-svg-images/14406 "2024-04-10T16:40:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julia](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@Julia](https://forum.xwiki.org/u/Julia)\
**Post date:** [April 10, 2024, 4:40pm UTC](https://forum.xwiki.org/t/list-with-different-svg-images/14406/1 "2024-04-10T16:40:38Z")

</div>

I’m using the following workaround to add some nice lists with different svg-images as dots. (Something like in the sidebar application panel.)

```auto
{{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="123…"/></svg>{{/html}} New York
{{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="456…"/></svg>{{/html}} Rio
{{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="789…"/></svg>{{/html}} Tokyo

```

Both, my workaround and the application panel are not formated with a negative text-indent for a list-like line-break.

I was trying something like this:

```auto
(% style="text-indent:" %)(((
{{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="123…"/></svg>{{/html}}New York
)))

```

But this generates `<div>` instead of `<p>` or `<li>`.

Any idea how to write that in a proper XWiki syntax?

---

<div class="post-metadata">

**Author:** ![acotiuga](https://forum.xwiki.org/user_avatar/forum.xwiki.org/acotiuga/32/3815_2.png) [@acotiuga](https://forum.xwiki.org/u/acotiuga)\
**Post date:** [April 10, 2024, 6:39pm UTC](https://forum.xwiki.org/t/list-with-different-svg-images/14406/2 "2024-04-10T18:39:49Z")

</div>

For `<p>` use:

```auto
(% style="text-indent:" %){{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="123…"/></svg>{{/html}}New York

```

For `<li>` use

````auto
* (% style="text-indent:" %){{html}}<svg xmlns="…" height="12px" viewBox="…"><path d="123…"/></svg>{{/html}}New York```
````
