## Implicit heading references (extension) The `implicit_heading_references` causes headings to create reference links to themselves. One can use this with the `auto_identifiers` extension, which should be put first in the list of extensions, or one can define identifiers for the headings manually by putting an attribute block before the heading. ```````````````````````````````` example # Heading See the [Heading] above. .
See the Heading above.
```````````````````````````````` ```````````````````````````````` example {#foo} # Heading See the [Heading] above. .See the Heading above.
```````````````````````````````` Explicitly defined references take precedence: ```````````````````````````````` example # Heading See the [Heading] above. [Heading]: foo .See the Heading above.
```````````````````````````````` When there are two headings with the same text, the first takes precedence: ```````````````````````````````` example # Heading # Heading See the [Heading] above. .See the Heading above.
```````````````````````````````` Empty headings don't create implicit references: ```````````````````````````````` example # ## See [] and [ ]. .See [] and [ ].
````````````````````````````````