Login  Register

Re: How to delete first underscore in section ID?

Posted by David Jencks on Feb 29, 2020; 6:22pm
URL: https://discuss.asciidoctor.org/How-to-delete-first-underscore-in-section-ID-tp7706p7707.html

See 16.2. Auto-generated IDs

In my experience, people who ignore the warning and set the idprefix to empty generally thereby  introduce several invalid ids into their document.

David Jencks

On Feb 29, 2020, at 10:02 AM, DrAscii [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi guys,

== This Is A Test

produces

<h2 id="_this_is_a_test">This Is A Test<h2>

How can I get rid of the first underscore in the section ID?

Thanks!

Best regards
DrAscii


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/How-to-delete-first-underscore-in-section-ID-tp7706.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML