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
xxxxxxxxxx
BBS 文章檔案檔案格式
BBS 文章檔的處理
BBS 文章檔案通常直接儲存在硬碟當中,需要時才會讀取。
讀取後會經過處理才會傳送至客戶端
顯示文章函式呼叫流程
// TODO: 找到 pmore.c 有關上色流程
目前檔案內容
以一篇普通的文章而言,目前的檔案內容如下:
而這樣的文章在以 pmore 的預設格式化內容會呈現成這樣
這個內容中是從文章列表按下右鍵進入後的內容,其中逃逸字元 0x1b 使用
<0x1b>
這個符號來表示。而接下來這篇是在 pmore 原始ANSI控制碼
主要差別在於首三行的看板對齊沒有向右對齊,以及在 ※ 前面的自動上色被取消了。
在內文沒有色碼或是其他控制碼的情況下,純文字的結果與原始ANSI控制碼的結果相同,因此不在贅述。
發文處理
加上標題
寫入內文
寫入簽名檔
推文處理
轉文處理
編輯處理
pmore 2007 動畫系統
雜項
BBSmovie 發文行限調整