Typora

De Banane Atomic
Version datée du 4 avril 2024 à 08:31 par Nicolas (discussion | contributions) (→‎Diagram)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigationAller à la recherche

Liens

Raccourcis clavier

Ctrl + Shift + L Display / Hide left panel
Ctrl + Shift + V Paste As Plain Text
Ctrl + 1 Heading 1
Ctrl + Shift + K Code Fences
Ctrl + Shift + ` Code
Ctrl + K Hyperlink
Ctrl + \ Clear Format
%AppData%\Typora\conf\conf.user.json
  "keyBinding": {
    "Always on Top": "Ctrl+Shift+P",
    "Code": "Alt+C"
  },

Extended syntax

Md.svg
==highlight==
H~2~O
x^2^
Ligne: ---

Images

Md.svg
![image-name](folder.assets/image-name.png)

<img src="folder.assets/image-name.png" style="zoom:150%" />
<img src="folder.assets/image-name.png" width="80%" />

Table

Md.svg
| Header colonne 1 | Header colonne 2 |
Ctrl + T créer une nouvelle table
Ctrl + Enter ajouter une nouvelle ligne
Ctrl + Shift + Backspace supprimer une ligne

Math

Md.svg
$x^2 \ge 2$
$^1/_2 \le ^\pi/_2$
$\frac{n!}{k!(n-k)!}$
$\sqrt[3]{22 + 10}$

Diagram

Md.svg
```flow
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end

st->op->cond
cond(yes)->e
cond(no)->op
​```

Mermaid

Md.svg
```mermaid
graph LR
A[Hard edge] --> B(Round edge)
    B --> C{Decision}
    C -->|One| D[Result one]
    C -->|Two| E[Result two]
​```

Alert

Md.svg
> [!NOTE]
> Text

> [!TIP]
> [!IMPORTANT]
> [!WARNING]
> [!CAUTION]

Plugins

Name Description
typora-tabbar-plugin allow to open multiple documents in tabs
OS Plugin path Bin path
Linux ~/.config/Typora/plugins /usr/share/typora
Windows $home\AppData\Roaming\Typora\plugins $home\AppData\Local\Programs\Typora
/usr/share/typora/resources/window.html
<!-- add css before the closing head tag -->
<link rel="stylesheet" href="typora://app/userData/plugins/tabbar/bundle.css">
</head>

<!-- add css before the closing body tag -->
<script src="typora://app/userData/plugins/tabbar/bundle.js" defer></script>
</body>