I have a very simple document in R Markdown. Here is the code:
---
title: "Untitled"
output: html_document
---
# R Markdown {#r-mkdw}
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. I want to cross-reference the Header of this text with \@ref(r-mkdw).
But the cross-reference as the manual specifies doesn't work.