I would like to use a code
part in the name of a chapter / section, and reference that using a label.
# Venn diagrams: function `venn()`{#venn}
If not using the backticks, the reference works as expected but using the backticks prevents the label to be referenced:
Warning messages:
1: The label(s) venn not found
2: The label(s) venn not found
Is there a way to obtain this?
This is a known issue in Pandoc, and I think it is by design. You have to either remove the backticks, or insert something between venn()
and the section ID, e.g.,
# Venn diagrams: the `venn()` function {#venn}