-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
---
createdAt: 2024-04-09T21:00:00+09:00
updatedAt: 2024-04-18T07:35:00+09:00
---
Obsidian Flavored Markdown (OFM) is an authoring format used in Obsidian, based on CommonMark and [[GitHub Flavored Markdown]] (GFM).
This page lists extensions not exists in both CommonMark and GFM.
- [Obsidian Flavored Markdown - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Obsidian+Flavored+Markdown)
- [Basic formatting syntax - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax)
- [Advanced formatting syntax - Obsidian Help](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax)
Unfortunately, Obsidian does not publish a formal spec for the OFM.
Users should be aware Macana's OFM parser is not guaranteed to be 100% compatible with Obsidian's one, as the spec is not defined and even Obsidian behave inconsistent in some area.
## Wikilink extension
```markdown
- [[GitHub Flavored Markdown|GFM]]
- [[Overview]]
```
- [[GitHub Flavored Markdown|GFM]]
- [[Overview]]
Document embedding is not supported yet.
## Highlight extension
```markdown
==Hello, World!==
```
==Hello, World!==
## Callout extension
```markdown
> [!info]+ Title, [[GitHub Flavored Markdown]]
> Both title and body can contain Markdown.
```
> [!info]+ Title, [[GitHub Flavored Markdown]]
> Both title and body can contain Markdown.
## Image size attribute
OFM abuses image `alt` slot for size specifier.
You can inspect the `<img>` tags below to see how it affects the resulting markup.
```markdown



![[dog.jpg|64]]
```



![[dog.jpg|64]]
## Math extension (LaTeX)
Macana parses math notations using [Temml](https://temml.org/). It converts LaTeX notation to MathML, which browsers natively support without JavaScript.
```markdown
This is an inline math expression $e^{2i\pi} = 1$.
```
This is an inline math expression $e^{2i\pi} = 1$.
```markdown
$$
\begin{vmatrix}a & b\\
c & d
\end{vmatrix}=ad-bc
$$
```
$$
\begin{vmatrix}a & b\\
c & d
\end{vmatrix}=ad-bc
$$