This soon will be deprecated. For newer guides, go to Basic Guide to Write a Note.
1âWriting a Note§
To write a note, you must be logged in. Open the side menu menu > Start Writing.
1.1âTitle§
Donât forgot to edit your noteâs title at the top of the editor!
1.2âHeadings§
Use # to create headings, for example:
# Heading 1
## Subheading 1 to Heading 1
### Sub-sub-heading to Sub-heading 1
## Subheading 2 to Heading 1To add your heading to the content list, add a unique ID to your heading.
You could add an ID to your heading by adding {#some-id} after the heading, like:
# Heading that will appear in the content list {#and-this-is-the-id}Itâs recommended to use kebab-case for the heading ID, meaning hyphens are
used for spaces, and no capital letters. For example,
this-is-a-text-written-using-kebab-case.
1.2.1âDifference between Heading 1â6§
Heading 1 (H1 for short) is often referred to as the âmain headingâ, while H2âH6 are referred to as âsubheadingsâ because they indicate sub-levels.
1.3âParagraphs§
Normal text is automatically a paragraph.
And to separate a paragraph, add an empty line; for example:
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate nostrum
eaque modi molestiae officiis. Veniam magni, quam harum deserunt dignissimos
impedit quo itaque doloribus debitis molestiae adipisci quas inventore
reprehenderit. *Put an empty line after this*.
*Put an empty line before this*. Lorem, ipsum dolor sit amet consectetur
adipisicing elit. Cumque voluptatem voluptatum ad vero nemo aliquid eligendi
asperiores rerum, neque rem inventore temporibus velit voluptates quam quo iure?
Repellat voluptate voluptates enim laboriosam asperiores sapiente, provident
incidunt accusamus illum deleniti vero!To get:
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate nostrum eaque modi molestiae officiis. Veniam magni, quam harum deserunt dignissimos impedit quo itaque doloribus debitis molestiae adipisci quas inventore reprehenderit. Put an empty line after this.
Put an empty line before this. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Cumque voluptatem voluptatum ad vero nemo aliquid eligendi asperiores rerum, neque rem inventore temporibus velit voluptates quam quo iure? Repellat voluptate voluptates enim laboriosam asperiores sapiente, provident incidunt accusamus illum deleniti vero!
1.3.1âLine Breaks§
If you want to add a new line (line break) without creating a new paragraph, add two spaces at the end of the line to add a line break, for example:
This is some text, a line of text, add two spaces after thisâŁâŁ
and this is a text after a line break.to get:
This is some text, a line of text, add two spaces after this
and this is a text after a line break.
1.4âText Styles§
Kyanit uses Github Flavoured Markdown (GFM) to style text (by using the module
marked.js).
1.4.1âBold§
Type **bold** to get bold.
1.4.2âItalic§
Type *italic* to get italic.
1.4.3âStrikethrough§
Type ~strike~ to get strike.
1.4.4âCode§
Type `code` to get code.
1.4.5âLinks§
Type [Link Text](https://example.com) to get Link Text.
Or use <https://example.com> if you donât want to add the text,
https://example.com.
1.4.6âFootnotes§
Type
This is not a part of markdown syntax, but a part of GFM[^gfm]. This will be followed by another footnote.[^2]
[^gfm]: GitHub Flavoured Markdown.
[^2]: Another footnote.to get
This is not a part of markdown syntax, but a part of GFM[^gfm]. This will be followed by another footnote.[^2]
[^gfm]: GitHub Flavoured Markdown. [^2]: Another footnote.
You can place the foot note definition ([^1]: Definition) anywhere, marked.js will automatically put it at the bottom.
You also can label the footnote anyway you like, [^1], [^footnote], [^one two three], and so on, marked.js will automatically number it.
Not enough?§
If you want more styling, you can use HTML.
1.5âImages§
Type  to get
1.6âLists§
1.6.1âOrdered
Type:
1. This
2. Is
3. An
4. Ordered
5. Listto get:
- This
- Is
- An
- Ordered
- List
1.6.2âUnordered
Type:
- This
- Is
- Unordered
- Listalternatively, you can use + and * instead of -; to get:
- This
- Is
- Unordered
- List
1.6.3âNested
Type:
- This is unordered
1. That have an ordered list
A. That have another one
B. Like this.
2. This is the second list
- More
i. And this tooto get:
- This is unordered
- That have an ordered list A. That have another one B. Like this.
- This is the second list
- More i. And this too
1.7âBlockquotes§
Type:
> This is a block quote.to get:
This is a block quote.
1.8âCodeblocks§
Type:
```js
// some code
const CONSTANT = 400;
console.log(400);
```to get:
// some code
const CONSTANT = 400;
console.log(400);1.9âHorizontal Rules§
Type at least 3 hyphens, asterisks, or underscores to create a horizontal rule, and add an empty line before the hyphens. For example:
Below this text are three horizontal rules.
---
***
___to get:
Below this text are three horizontal rules.
If you don't add an empty space, the text will be a heading 1.
1.10âTables§
Type:
| Heading 1 | Heading 2 |
| ----------------- | ------------------------- |
| Some table cells | Some another table cells |
| Lorem ipsum | muspi meroL |to get:
| Heading 1 | Heading 2 |
|---|---|
| Some table cells | Some another table cells |
| Lorem ipsum | muspi meroL |
1.11âLaTeX Math Equations§
Kyanit uses MathJax to display math equations and uses LaTeX syntax.
If you don't want to bother to learn LaTeX, you could use https://latexeditor.lagrida.com/.
1.11.1âInline Math
Use single dollar sign $ for inline math.
Type
$\\sin(\\alpha) = \\frac{a}{b} = \\text{sine wave}$to write $ \sin(\alpha) = \frac{a}{b} = \text{sine wave} $.
Inline math, as the name suggest, will display the math equation in the same line of the paragraph.
1.11.2âDisplay Math
Use double dollar sign $$ for display (block) math.
Type
$$ \\begin{align*}
\\tan(\\beta) = \\frac{\\sin}{\\cos} &= \\text{tangent}. \\\\
f(x) &= x^2
\\end{align*} $$to write
$$ \begin{align*} \tan(\beta) = \frac{\sin}{\cos} &= \text{tangent}. \\ f(x) &= x^2 \end{align*} $$
Display math will be displayed centered and on a separate line.
2âPublishing§
After youâre done, you can publish your note by clicking the publish button at top-right corner. If you click it, it will open a dialog box that says
Thumbnail URL
[_____________________]Keywords
[_____________________]
Thumbnail URL is optional, thumbnail must be a PNG or JPEG below 100 kB.
Keywords is optional too, but if you want your note to be searchable, use it.
You can add multiple keyword by separating it with a space, for example:keyword1 keyword2 keyword3
3âVisibility§
3.1âPublic§
Visibility: Public means everyone can search your note, or see it on your profile.
3.2âUnlisted§
Visibility: Unlisted means only someone with the link that can open your note.