jgm/pandoc — pull request #509 by EmielM (2012-05-12 15:28:20+00:00)
Title: \ref instruction support

Suggestion: instead of generating a \hyperref instruction, internal links without text could generate a \ref instruction, which will render the section number.

Example Markdown input to trigger new behavior:
Take a look at section [](#some-section).

Will render something like 'Take a look at section 2.1'