Why does my heading label errors with "cannot reference text"?

Another way to get the same behavior, if you should prefer the heading on one line, is this:

#[= asdf] #lab

honestly I find your solution nicer though: it keeps the = at the beginning of the line and thus seems more readable to me.

1 Like