How to-Note
Link Syntax
- Always file name and title should be identical.
- Using the note’s filename: [[ cats ]]
-
- Using the note’s filename, with a label: [[ cats|link to the note about cats using the note’s filename ]]
- In all cases, if the double-bracket link does not point to a valid note, the double brackets will still be shown, like this: [[ there is no note that matches this link ]].
- You can also highlight som content by wrapping it with ‘==’.
- add image like adding images in markdown
Code syntax highlighting
You can add code blocks with full syntax color highlighting by wrapping code snippet in triple backticks and specifying the type of the code (js
, rb
, sh
, etc.):
// Here's a bit of JavaScript:
console.log('hello!')
# And now some Ruby
def foo(bar)
"baz"
end
$ cat /dev/urandom | grep "the answer to life" # shell scripts look nice too
Table
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here’s this |
Paragraph | Text | And more |
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
Note mentioned in
There are no notes linking to this note.