You can either keep a separate version of the file in Pandoc Markdown with manually added GitHub style ids, which Pandoc will pick up, e.g. as `doc/readme.pdc` and convert it to GitHub Markdown when you make changes:

    # 1. Description {#1-description}
    
or add an anchor tag with a pandoc-style id as value of the `name` attribute

    # <a name="description">1. Description</a>

which for some reason will be preserved by the GitHub sanitizer and let you use `#description` as URL in links. The latter method looks uglier when unrendered but has the advantage that you can have only one version of the file which looks good when rendered on GitHub.

mån 31 juli 2017 kl. 12:41 skrev CesarJ M <cesarjorgemartinez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Correct the message:


I number the headers using  my own numbers, and links to these headers, as example:

# 1 MyTitle

# 2 Other Title

...

[MyLinkTitle](#1-mytitle)

Then, when I convert this file (by example to docx format), and open it, the MyLinkTitle is not working.


In the documentation it is said that I need to write the reference as:
[MyTitle](#mytitle)

But, if we use this form in github repository, the link is not working in github web.

How do I fix this problem?

Regards,

--
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/a5021369-5323-4cdc-ab5a-ecac3b78983f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CADAJKhD_x%3Dxv55RC%3D%2B-1hoLM38bUXsQgTXQPEg7nGto4hZrC3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.