NOTIONS for documentation and Gitlab.¶
Date: 23 septembre 2022 Texte: Fabricademy 2022 / 2023 Étiquettes: GitLab, Notion, Week 1
Machine: Mac
Notion help me a lot for organize and taking not during my week of Fabricademy. This page is actually is also an export on it.
1- Installation¶
-
For desktop : https://www.notion.so/desktop
For MAC you have choice between :
- Apple silicon
- Intel processor
Go in the Icon Apple,
About this Mac
For mobile : https://www.notion.so/mobile
2- Notions for Gitlab¶
- Create a new page : Help here
- Write your text and insert images
- Go in
...
on Notions -
Export
-
Download the folder in your laptop
- Double click for open the zip
- Open the folder zip
You will find :
- images folder
- .md
If you have an error for opening it, use Text Edit.
Exemple of this page :
# NOTIONS for documentation and Gitlab.
<aside>
<img src="https://www.notion.so/icons/clipping_lightgray.svg" alt="https://www.notion.so/icons/clipping_lightgray.svg" width="40px" /> Notion is an app who help for taking notes, databases, Kanban boards, wikis, calendars and reminders. Notions use Markdown who have a possibility to export for Gitlab. [More info here](https://www.notion.so/help/guides/what-is-notion)
</aside>
### **1- Installation**
- For desktop : [https://www.notion.so/desktop](https://www.notion.so/desktop)
For MAC you have choice between :
- Apple silicon
- Intel processor
Go in the Icon Apple, `About this Mac`
For mobile : [https://www.notion.so/mobile](https://www.notion.so/mobile)
### 2- Notions for Gitlab
- Create a new page
- Write your text and insert images
- Go in `...` on Notions
- Export
- Download the folder in your laptop
- Double click for open it
3- Integrat in Gitlab¶
-
Open your Gitlab page
-
Click to
Open in web IDE
- Copie the code of the document .md
COMMAND A
= Select all the textCOMMAND C
= Copie
- Go in Gitlab
COMMAND V
= Stick on where you want to add it- Click
Create commit...
= for registerCommit to main branch
Commit
The view on the website
SOLUTIONS
Create a frame in Gitlab¶
- Infos : https://stackoverflow.com/questions/25654845/how-can-i-create-a-text-box-for-a-note-in-markdown
- Copie the code in Gitlab
<div class="warning" style='background-color:#white; color: #black;
border-left: solid #805AD5 4px; border-radius: 4px; padding:0.7em;'>
<span>
<p style='margin-left:1em;'>
Notion is an app who help for taking notes, databases, Kanban boards, wikis, calendars and reminders. Notions use Markdown who have a possibility to export for Gitlab. [More info here](https://www.notion.so/help/guides/what-is-notion)
</p>
</div>
texte
But this code is only for the border left.
<div class="warning" style='background-color:#white; color: #black;
border-left: solid #805AD5 4px; border-radius: 4px;'>
<span>
<p style='margin-left:1em;'>
texte
</p>
</div>
texte
I cancel the padding.
<div class="warning" style='background-color:#white; color: #black;
border: solid #805AD5 4px;
border-radius: 4px;'>
<span>
<p style='margin-left:1em;'>
texte
</p>
</div>
texte
I cancel the left of the border and now I have a solid making a frame.
<div class="warning" style='background-color:#white; color: #black;
border: solid #805AD5 2px; border-radius: 2px;'>
<span>
<p style='margin-left:1em;'>
texte
</p>
</div>
- Bold & Underline¶
texte texte
<u> texte </u>
**texte**