António Duarte
António Duarte

Reputation: 31

How to cross reference a chapter with title defined in yaml

I want to reference a chapter with the title defined in the chapter yaml. I tried

---
id: sec-method
title: Methods 
---

See @sec-method

It does not work. Is there a way to do this or do I have to go with

# Methods {#sec-method}

See @sec-method

Upvotes: 1

Views: 23

Answers (0)

Related Questions