This gives the ability to mix the numbering in lists, by splitting every listitem in one dedicated list.
pandoc example.md -o example.pdf --filter=./raw_lists.py
```{#list-1 .raw_list}
2. example text
3. third item
1. test text
\``` <-- you have to remove the backslash (escaping ´ in codeblocks is weird)