You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the text in the [] to be the text to be shown, and the text in the () to be the linked file. But instead, the text shown comes from the @title of the lit file. That is unexpected. Is this
on purpose?
Would it be possible to document links? Thanks!
The text was updated successfully, but these errors were encountered:
From the code, it's hard to tell. The chapter title is initialised to the contents of the [] in the link, but if the chapter itself has a @title command, that command overwrites the link value.
To disambiguate, you can
Not have @title commands in your individual chapter files, or
Not have any text in your chapter links i.e. [](yourfilehere.lit).
A warning could be added to clarify what will happen if the title is set twice.
I'm not sure how links are implemented. Thus, book.lit contains this part:
I would expect the text in the
[]
to be the text to be shown, and the text in the()
to be the linked file. But instead, the text shown comes from the@title
of the lit file. That is unexpected. Is thison purpose?
Would it be possible to document links? Thanks!
The text was updated successfully, but these errors were encountered: