Hello,
I have created a user macro with this content
## @noparams
<style>
.ourtest body {
list-style-type: none !important;
counter-reset: css-counter 0 !important;
}
.ourtest p {
counter-increment: css-counter 1 !important;
}
.ourtest p::before {
content: counter(css-counter) ". " !important;
}
</style>
<body>
<div class="ourtest">$body</div>
</body>
expecting to enter text, which will be numbered automatically
HTML:
<p>text1</p>
<p>text2</p>
<p>text3</p>
Result:
1. text
2. text
3. text
But the numbering is missing on the page. Any idea?
Thanks for any support.