Closed ronaldtse closed 7 months ago
@ronaldtse Currently there are 2 options to add notes to a concept class
concept.notes = ["content for note 1", "content for note 2", ...]
, this will make the required concept objects with content set to the string in the array.concept.notes = [{content: "content for note 1"}, {content: "content for note 2", sources: [...]}, ...]
with this method we can also pass source
for the concept.I'm working on adding complete documentations for what is currently implemented in Glossarist and I'll open a PR for that once done.
I want to make it possible to add notes one by one, not using =
.
e.g.
concepts.notes << "content for note"
concepts.notes << {content: "content for note"}
Also for designation
. Thanks.
@ronaldtse Currently there is no way to add a single note
or designation
. I am adding that & will open a PR for that today.
Operations on the Concept class: How to add a note? How to add a designation?
Need corresponding methods.