Define the library_note command. #
A library note is identified by the name of its declaration, and its content should be contained in its doc-string.
Equations
Instances For
Entry for library notes in the environment extension.
We only store the name, and look up the constant's docstring to find its contents.
Instances For
Environment extension supporting library_note.
library_note «my note» /-- documentation -/ creates a library note named my note
in the LibraryNote namespace, whose content is /-- documentation -/.
This can then be cross-referenced using
-- See note [some tag]
in doc-comments.
You can access the contents using, for example, #print LibraryNote.«my note».
Use #help note "some tag" to display all notes with the tag "some tag" in the infoview.
This command can be imported from Batteries.Tactic.HelpCmd .
Equations
- One or more equations did not get rendered due to their size.
Instances For
Support the old library_note "foo" syntax, with a deprecation warning.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Support the old library_note2 «foo» syntax, with a deprecation warning.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Support the old library_note2 "foo" syntax, with a deprecation warning.
Equations
- One or more equations did not get rendered due to their size.