├── client/
├── src/
├── pages/
├── in/
├── functions/
├── component/
├── container/
├── routes/
├── routes/
├── css/
├── images/
├── index.js
├── agent.js
├── out/
├── functions/
├── component/
├── container/
├── routes/
├── routes/
├── css/
├── images/
├── index.js
├── agent.js
├── auth/
├── component/
├── container/
├── routes/
├── css/
├── images/
├── index.js
├── agent.js
├── routes/
├── images/
├── global.css
├── index.js
├── index.js
/////redux/////
├── actions/
├── reducers/
├── store/
├── constants/
/////redux/////
├── animation/
不准加分號!!!
大括號範例
while (condition) {
...
}
"雙引號"!!!
函數命名使用camelCase
所有function使用arrow function!!
變數(object除外)與object的property命名使用小寫單字_小寫單字
Class,Object使用大寫開頭單字
Comment Form:
const testFunction = () => {
/*
input:{
param1:type,
description...
param2:type,
description...
}
output: type,
description...
description:
...
*/
...
}
let test_variable = 1 //description
const TestHook = (props) => {
/*
props:{
param1:type,
description...
param2:type,
description...
}
description:
...
*/
}
html
css
id,classNames 請承襲以往規格
這裡要加分號!!!
請依以下順序:
Pseudo-class 順序
css variable:
*
screen
@media (max-width:1200px) {
...
}
請在自己的branch工作,覺得可以就送pull request
請打有意義的commit名字,這樣reset或找bug比較快
Config:
Images:
以下在out 新增functions資料夾後做
Forget/Login/Register/RegisterDefault/RegisterFB:
History/Team:
ResetPassword:
Columns:
Auth:
Recruitment:
Recommendation:
Policy:
CSS:
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing