Guide for using HackMD and a markdown file¶
English part¶
HackMD provides an easy interface for writing markdown documents. Even if you don't know the exact markdown syntax, you can easily write documents. However, we recommend that you take this opportunity to familiarize yourself with markdown syntax. The output of many AI services is in markdown format.
HackMD has the ability to collaborate on markdown documents and sync them to Github. For each case study project, I will share two markdown documents, both of which have a report template applied. If it's a Grass project, I'll share the following two files.
- grass.md (English version of the report, by default)
- grass_kr.md (Korean version of the report, optional)
Only the student working on the project will be emailed a link to access the MD file. Clicking the link will open the HackMD editing window, but you won't be able to edit it unless you're signed up for HackMD. Please sign up for HackMD with the email you shared, and you'll have editing permissions and be able to create the document.
The instructor will have read/write access to all documents, so they'll know in real time what you're working on, and he can synchronize with the class website Github to update it when needed. You'll then be able to see the results of your work on the class website.
The samples of the Grass documentation is shaed as a reference for everyone to see. Open the link below to see the markdown document that the Grass report was created from. You will be able to view the editing screen, but cannot edit it. The documents have utilized most of the markdown syntax, so feel free to copy & paste what you need.
There are a few things to keep in mind when writing markdown documents on HackMD. When your document is rendered on the web, a makrdown parser called MkDocs will read your document. So you need to write it in a form that MkDocs can recognize. It is slightly different from the syntax that HackMD understands. Just be careful with the following parts (this is where the HackMD tutorial differs a bit from the one below).
- If you want to add images and resize them, you'll need to use HTML syntax.
<img src="https://hackmd.io/_uploads/S1cF34ZBlg.png" alt="Grass" width="50%">
- If you don't need to resize the image, you can follow the HackMD tutorial.
- To create a sublist in Ordered/Unordered Lists, you need to put exactly 4 spaces (or 1 tab).
- This is so the webpage will represent them correctly.
- In Ordered Lists, the lists should be numbered 1,2,3, etc.
HackMD expires sessions frequently, which is annoying. Whenever it happens, you have to do CAPTCHA. If you feel like HackMD isn't doing well, refresh your browser and do CAPTCHA.
ํ๊ตญ์ด ํํธ¶
HackMD๋ markdown ๋ฌธ์๋ฅผ ์ฝ๊ฒ ์์ฑํ ์ ์๋ ์ธํฐํ์ด์ค๋ฅผ ์ ๊ณตํฉ๋๋ค. ๋น์ ์ด ๋งํฌ๋ค์ด ๋ฌธ๋ฒ์ ์ ํํ ๋ชฐ๋ผ๋ ์ฝ๊ฒ ๋ฌธ์๋ฅผ ์์ฑํ ์ ์์ต๋๋ค. ํ์ง๋ง ์ด๋ฒ ๊ธฐํ์ ๋งํฌ๋ค์ด ๋ฌธ๋ฒ์ ์ต์ํด ์ง๋๊ฑธ ์ถ์ฒํฉ๋๋ค. ๋ค์ํ AI ์๋น์ค์ ์ถ๋ ฅ์ด ๋งํฌ๋ค์ด ํ์์ ๋๋ค.
HackMD๋ ๋งํฌ๋ค์ด ๋ฌธ์๋ฅผ ๊ณต๋์์ ํ๊ณ Github์ผ๋ก Syncํ ์ ์๋ ๊ธฐ๋ฅ์ด ์์ต๋๋ค. ๊ฐ case study ํ๋ก์ ํธ๋ณ๋ก ๋ ๊ฐ์ ๋งํฌ๋ค์ด ๋ฌธ์๋ฅผ ๊ณต์ ํด ๋๋ฆด ๊ฒ์ ๋๋ค. ๋ ๊ฐ ๋ชจ๋ ๋ณด๊ณ ์ ํ ํ๋ฆฟ์ด ์ ์ฉ๋์ด ์์ต๋๋ค. ๋ง์ฝ Grass ํ๋ก์ ํธ๋ผ๋ฉด ์๋ ๋๊ฐ์ ํ์ผ์ด ๊ณต์ ๋ฉ๋๋ค.
- grass.md (์์ด ๋ฒ์ ์ ๋ณด๊ณ ์, ๋ํดํธ)
- grass_kr.md (ํ๊ธ ๋ฒ์ ์ ๋ณด๊ณ ์, ์ต์ )
ํ๋ก์ ํธ๋ฅผ ๋ด๋นํ๋ ํ์๋ง ํด๋น md ํ์ผ ์ ์ ๋งํฌ๊ฐ ๋ฉ์ผ๋ก ๊ณต์ ๋ฉ๋๋ค. ๋งํฌ๋ฅผ ํด๋ฆญํ๋ฉด HackMD ํธ์ง์ฐฝ์ด ์ด๋ฆฌ๋๋ฐ HackMD์ ๊ฐ์ ํ ์ํ๊ฐ ์๋๋ฉด ํธ์ง์ด ์๋ ๊ฒ์ ๋๋ค. ๊ณต์ ๋ฐ์ ์ด๋ฉ์ผ๋ก HackMD๋ฅผ ๊ฐ์ ํด ์ฃผ์ธ์. ๊ทธ๋ฌ๋ฉด ํธ์ง ๊ถํ์ด ์๊ธฐ๊ณ ๋ฌธ์๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
๊ต์๋ ๋ชจ๋ ๋ฌธ์์ Read/Write ๊ถํ์ด ์๊ธฐ ๋๋ฌธ์ ๋ฌธ์ ์์ฑ ํํฉ์ ์ค์๊ฐ์ผ๋ก ์ ์ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ํ์ํ ๋ ์์ ์น์ฌ์ดํธ Github๊ณผ ๋๊ธฐํํด์ ์ ๋ฐ์ดํธํ ์ ์์ต๋๋ค. ๊ทธ๋ฌ๋ฉด ์ฌ๋ฌ๋ถ์ ์์ ์น์ฌ์ดํธ์์ ์์ ํ ๊ฒฐ๊ณผ๋ฅผ ๋ณผ ์ ์์ต๋๋ค.
๋ ํผ๋ฐ์ค๋ก ์์ฑํ Grass ๋ฌธ์์ ์ํ์ ๋ชจ๋๊ฐ ๋ณผ ์ ์๊ฒ ๊ณต์ ํฉ๋๋ค. ์๋ ๋งํฌ๋ฅผ ์ด๋ฉด Grass ๋ณด๊ณ ์๊ฐ ์์ฑ๋ ๋งํฌ๋ค์ด ๋ฌธ์๋ฅผ ๋ณผ ์ ์์ต๋๋ค. ํธ์งํ๋ฉด์ ๋ณผ ์๋ ์๋๋ง ํธ์ง์ ์๋ฉ๋๋ค. ๋๋ถ๋ถ์ ๋งํฌ๋ค์ด ๋ฌธ๋ฒ์ ํ์ฉํด ์์ฑํ์ผ๋ ํ์ํ ๋ถ๋ถ์ ๋ณต์ฌ&๋ถ์ฌ๋ฃ๊ธฐ ํ์ธ์.
HackMD์์๋ ๋งํฌ๋ค์ด ๋ฌธ์๋ฅผ ์์ฑํ์ค ๋ ์ ์ํ ๋ถ๋ถ์ด ์์ต๋๋ค. ์ต์ข ์ ์ผ๋ก ์น์์ ๋ ๋๋งํ ๋๋ Github์์ MkDocs๋ผ๋ ๋งํฌ๋ค์ด ํ์๊ฐ ๋ฌธ์๋ฅผ ์ฝ๊ธฐ ๋๋ฌธ์ MkDocs์์ ์ธ์ํ ์ ์๋ ํํ๋ก ์์ฑํด์ผ ํฉ๋๋ค. ์๋ ๋ถ๋ถ ์ ๋๋ฅผ ์กฐ์ฌํด ์ฃผ์๋ฉด ๋ฉ๋๋ค. (์ด ๋ถ๋ถ์ด HackMD ํํ ๋ฆฌ์ผ๊ณผ ์ฝ๊ฐ ์ฐจ์ด๊ฐ ๋๋ ๋ถ๋ถ์ ๋๋ค.)
- ์ด๋ฏธ์ง ์ถ๊ฐํด์ ์ฌ์ด์ฆ๋ฅผ ๋ฐ๊พธ๊ณ ์ถ์ผ๋ฉด HTML ๋ฌธ๋ฒ์ ์ด์ฉํด์ผ ํฉ๋๋ค.
<img src="https://hackmd.io/_uploads/S1cF34ZBlg.png" alt="Grass" width="50%">
- ์ด๋ฏธ์ง ์ฌ์ด์ฆ ์กฐ์ ์ด ํ์์๋ค๋ฉด HackMD ํํ ๋ฆฌ์ผ ๋๋ก ํ๋ฉด ๋ฉ๋๋ค.
- Ordered/Unordered Lists์์ ํ์ ๋ฆฌ์คํธ๋ฅผ ๋ง๋ค๋ ค๋ฉด 4๊ฐ์ ๊ณต๋ฐฑ(๋๋ 1๊ฐ์ ํญ) ์ ์ ํํ ๋ฃ์ด์ผ ํฉ๋๋ค.
- ๊ทธ๋์ผ ์นํ์ด์ง์์ ์ ๋๋ก ํํํด ์ค๋๋ค.
- Ordered Lists์์ ๋ฆฌ์คํธ๋ 1,2,3 ๋ฑ์ผ๋ก ๋๋ฒ๋งํด์ค์ผ ํฉ๋๋ค.
HackMD๋ ์ธ์ ๋ง๋ฃ๊ฐ ์์ฃผ ๋ฉ๋๋ค. ๊ทธ๋๋ง๋ค ์บก์ฐจ ํ๋ฉด์ด ๋จ๋๋ฐ ๊ท์ฐฎ๋๋ผ๋ ์ด์ฉ ์ ์๋ค์. HackMD๊ฐ ์ํ๋ ๋์์ ํ์ง ์๋๋ค๊ณ ์๊ฐ๋๋ฉด ๋ธ๋ผ์ฐ์ Refresh๋ฅผ ํด ์ฃผ์ธ์.