Obsidian Getting Started Guide

Obsidian Getting Started Guide

Now Typora has started to charge. As a prostitute, I definitely can't accept it. So I found a free Markdown compilation manager - Obsidian. And its grammar is similar to Typora, partners who have used Typora before can get started quickly! Now let us know some grammar of Obsidian.

title

Like Typora, Obsidian also has six-level titles, and its syntax is the same as Typora

# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

insert image description here

emphasize

1. Bold

使用方法:**(乘号) + 内容 + **(乘号) 或者 __(下划线) + 内容 + __(下划线)
例子:
这是正常文字
**这是粗体**
__这是粗体的另一种表示方式__

insert image description here

2. Italics

使用方法:*(乘号) + 内容 + *(乘号) 或者 _(下划线) + 内容 + (下划线)
例子:
这是正常文字
*这是斜体*
_这是斜体的另一种表示方式_

insert image description here

the list

- 项目 1 
- 项目 2 
     - 项目 2a 
     - 项目 2b 

1. 项目 1 
1. 项目 2 
1. 项目 3 
		1. 项目 3a 
		2. 项目 3b

insert image description here

picture

使用方法:![图片名称](图片链接)
例:
![Engelbart](https://history-computer.com/ModernComputer/Basis/images/Engelbart.jpg)

Engelbart

change picture size

For example, to resize the example image above to be 100 pixels wide

使用方法:![图片名称|图片大小](图片链接)
例:
![Engelbart|100](https://history-computer.com/ModernComputer/Basis/images/Engelbart.jpg)

insert image description here

the code

inline code

一行中被 `反引号` 括起来的文字会以代码格式显示。

反引号Enclosed text on a line will be displayed in code format.

code block

Obsidian recognizes six backticks as a code block and displays it in code format. Code blocks support syntax highlighting, and you can use specific syntax highlighting by declaring the language on the first line of the code block (after the backtick at the beginning).

The syntax highlighting of code blocks is actually implemented using prismjs, so you can go to their website to check the supported languages.

```js
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}
```

note

By annotation, I mean something that will be displayed in edit mode, but not in preview mode. Use %%to turn content into comments. Here is the syntax:

这里是行内注释:%%预览模式下你将看不到这句话%% 
这里是跨行注释: 
%%
 所谓跨行 
 就是可以有很多行 
%%

other

The above are some commonly used Obsidian grammars that I have summarized. The functions of Obsidian are more than that (such as tables, charts, mathematical formulas, footnotes, strikethrough, etc.). If you need to use it, you can go to the help document on the official website to find it. The content is very detailed.
insert image description here
References:
Farewell! typora, this is what a good note should look like
Obsidian help document

Guess you like

Origin blog.csdn.net/read_book_con/article/details/124181873