numbered list

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

numbered list

nish511
How to create numbered list without period?
For e.g. current numbered list look like following
1. <text>
2. <text>

I want
1 <text>
2 <text>

Is this possible?
Reply | Threaded
Open this post in threaded view
|

Re: numbered list

mojavelinux
Administrator
The period is added by the browser, so no.

There's a CSS mechanism for defining a custom counter on a numbered list in the works, but it's still experimental in most browsers. See https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

-Dan

On Thu, Dec 26, 2019 at 6:43 PM nish511 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
How to create numbered list without period?
For e.g. current numbered list look like following
1. <text>
2. <text>

I want
1 <text>
2 <text>

Is this possible?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/numbered-list-tp7451.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: numbered list

nish511
I am actually generating pdf and not html.
Reply | Threaded
Open this post in threaded view
|

Re: numbered list

mojavelinux
Administrator
PDF retains visual consistency with the HTML (esp regarding list markeres). So since it's not possible in HTML, we don't make it possible in PDF either.

-Dan

On Thu, Dec 26, 2019 at 7:30 PM nish511 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I am actually generating pdf and not html.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/numbered-list-tp7451p7453.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux