Notes
Declaring Notes
Notes are defined using a Markdown heading starting with a known type: Note, Quote, Flashcard, etc.
You may find the default types declared in .nt/nt.libsonnet:
{ DefaultNoteTypes: { Note: { name: "Note", }, Task: self.Note + { name: "Task", }, // ... }}Types identify the purpose of your notes. Different notes will be processed differently. For example, flashcards must be studied, tasks should be planned, and quotes could be rendered for inspiration.
Here is an example using different note types:
# My Notebook
## Note: A thought
This is a note.
## Quote: A quote
This is a quote.The content of notes can be structured using Markdown headings. For example:
## Note: A Structured Note
A first sentence.
### Subsection 1
A first subsection.
### Subsection 2
A second subsection.The subsections βSubsection 1β and βSubsection 2β are included in the note A Structured Note. They are not individual notes.
Notes can also be declared below other notes. For example:
## Note: Go vs Golang
When the language was released by Google in 2009, the team registered the website golang.org because go.org was not available.
### Flashcard: Go vs Golang
Why does **Go** sometimes called **Golang**?
---
`go.org` was not available => `golang.org` πThis syntax is convenient to inherit attributes and add implicit links between your notes.
Annotating Notes
All notes can end with an annotation (using the Markdown syntax for quotations):
## Quote: Wayne Gretzky on Trying
You miss 100% of the shots you donβt take.
> Trying will always be more effective than doing nothing.These optional comments are useful to explain why a note resonates, or to summarize the key idea using your own words. These comments are highlighted differently (and can be omitted) when rendered in The NoteWriter Desktop.
Embedding Notes
Notes can be embedded inside another notes using the unofficial Markdown syntax ![[wikilink-to-file#note-section]]
The wikilink must include a reference to a Markdown heading defining a note. You cannot import a file like this ![[wikilink-to-file]] but only a note inside a file.
Example:
## Quote: Tim Ferris on Productivity
`@author: Tim Ferris`
Focus on being productive instead of busy.
## Note: On Busyness
Productivity is doing the right thing. Doing less useless things, and doing more important things.
![[#Quote: Tim Ferris on Productivity]]The second note is equivalent to:
## Note: On Busyness
Productivity is doing the right thing. Doing less useless things, and doing more important things.
> Focus on being productive instead of busy.>> β Tim FerrisIgnoring Notes
Like files, some notes can be ignored using the special tag ignore (more about tags later):
## Note: A Parsed Note
This note will be indexed.
## Note: An Ignored Note
`#ignore`
This note will be ignored.