memos/Obsidian Flavored Markdown.md

180 lines
3.0 KiB
Markdown
Raw Normal View History

2024-08-25 15:21:39 +00:00
---
tags:
- markdown
- obsidian
- edit
---
This is a paragraph.
Multiple line need `<br>` tag.
Multiple blank spaces need `&nbsp;` character.
2025-01-06 15:25:18 +00:00
# 1. Heading 1
## 1.1. Heading 2
### 1.1.1. Heading 3
#### 1.1.1.1. Heading 4
##### 1.1.1.1.1. Heading 5
###### 1.1.1.1.1.1. Heading 6
2024-08-25 15:21:39 +00:00
**Bold** `**Bold**`
__Also bold__ `__Also bold__`
*Italic* `*italic*`
_Also italic_ `_Also italic_`
~~Strike Line~~ `~~Strike Line~~`
==Highlighted text== `==Highlighted text==`
**Bold and _nested italic_ text** `**Bold and _nested italic_ text**`
***Bold and italic text*** `***Bold and italic text***`
___Also bold and italic text___ `___Also bold and italic text___`
[[link]] `[[link]]`
[Also link](link_url) `[Also link](link_url)`
> Quotes line `> Quotes line`
- ul list `-ul list`
1. ol list `1. ol list`
1. other ol list `1. other ol list`
- [x] completed task
`- [x] completed task`
- [?] also completed task but no strike line
`- [?] also completed task but no strike line`
- [ ] incomplete task
`- [] incomplete task`
1. parent line one
1. nested child line one
2. nested child line two
2. parent line two
- nested child line one
- nested child line two
- [ ] parent task line
- [ ] nested child task line
horizontal line
---
***
```
This is code block
```
```js
function test(arg) {
let test = "";
// comment
if (arg) {
test = "test string";
}
}
```
Footnotes[^1]
[^1]: 한국어로 미주
%%
This is comment.
So can't see this line in read mode.
%%
Table
| title1 | title2 |
| ------ | ------ |
| body1 | body2 |
| body3 | body4 |
Header line must have at least two hyphens.
| Left-aligned text | Center-aligned text | Right-aligned text |
| :---------------- | :-----------------: | -----------------: |
| Content | Content | Content |
```
Left-aligned text | Center-aligned text | Right-aligned text
:-- | :--: | --:
Content | Content | Content
```
Diagram
```mermaid
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
```
Math
$$ \begin{vmatrix}a & b\\ c & d \end{vmatrix}=ad-bc $$
embed
```
<iframe src="https://help.obsidian.md/Editing+and+formatting/Embed+web+pages"></iframe>
```
![](https://youtu.be/IUDTlvagjJA?si=BwM92-BwcYm2cgyi)
```
![](https://youtu.be/IUDTlvagjJA?si=BwM92-BwcYm2cgyi)
```
![](https://twitter.com/obsdmd/status/1580548874246443010)
2025-01-06 15:25:18 +00:00
# 2. Callouts
2024-08-25 15:21:39 +00:00
> [!note]
> Note Callout
```
> [!note]
> Note Callout
```
> [!note] Changed title
> [!note]- Foldable
> This callout is foldable callout.
> [!note] Parent
> > [!todo] Nested child
> [!abstract]
> Aliases: `summary`, `tldr`
> [!info]
> [!todo]
> [!tip]
> Aliases: `hint`, `important`
> [!success]
> Aliases: check, done
> [!question]
> Aliases: `help`, `faq`
> [!warning]
> Aliases: `caution`, `attention`
> [!failure]
> Aliases: `fail`, `missing`
> [!danger]
> Alias: error
> [!bug]
> [!example]
> [!quote]
> Alias: `cite`