Hi,

I've been doing several tests:

The GitHub formas does (from github.com), to resolve links:
- It downcases the header string
- remove anything that is not a letter, number, space or hyphen
- changes any space to a hyphen.
- If that is not unique, add "-1", "-2", "-3",... to make it unique

Using the markdown_github, trying to convert to html, convert to follow:
Header:
<h1 id="title">1. Title</h1> (fail, must be id="1-title")
Link:
<a href="#1-title">1. Title</a> (correct)

Using --toc option, also do the same:
<ul>
<li><a href="#title">1. Title</a></li>
</ul>

Seeing a odt converted file, the title destination (right-click in the link, modify hyperlink, destination in the document), appear as "1.1. Title".

I try to disable the auto_identifiers extension (markdown_github-auto_identifiers) but not work:
<ul>
<li><a>1. Title</a></li>
</ul>

<h1>1. Title</h1>

<a href="#1-title">1. Title</a>


Disabling not workaround the problem :-(



El martes, 1 de agosto de 2017, 21:41:15 (UTC+2), John MacFarlane escribió:
See
the manual under "Extension: auto_identifiers" and also
https://github.com/jgm/pandoc/issues/2821

+++ CesarJ M [Aug 01 17 00:22 ]:
>   Why the text of the reference headers is modified removing the first
>   1.?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/108edc7f-37e3-4764-944d-7689152df990%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.