本站之初衷为记录我于电脑之使用,记录成篇,篇成站。
- 之所以记录,为能用故也
- 便于查询,于是乎必有搜索,必有云服务
- 便于整理,于是乎必有标签,目录
- 目录,硬件,操作系统,应用软件,学术
- 标签,关键词
- 便于转移,必可用于多OS,多编程语言,于是乎求简,求常用。
篇之格式,适应墨水屏
- 发布时间、修改时间、修改记录
- 标题分级
- 图文对齐
- 字,字体、加粗、颜色分深浅
- 行内引用,段落引用
- 代码块,自动缩进,自动关键词变色,色彩方案可调整
- URL等路径
- 操作流程
- 超链接
- 参考文献
- 适应多尺寸屏幕
方案选择
- 备选方案,Windows OS+word之doc文件+网盘
- 难以查询,比如手机、网吧
- 备选方案,笔记服务如Onenote,有道云笔记。
- 不可深度定制功能,不可增有用而去多余
- 一旦更新,只能被动适应,徒增成本
- 服务存废不由己
是以选定Github Page+Markdown格式。
Emphasis
This is bold text
This is bold text
This is italic text
This is italic text
Blockquotes
Blockquotes with plain text
Blockquotes Text
Blockquotes with Lists
- List one
- List one.one
- List one.two
- List two
- List three
To end the Blockquotes just put an empty line under >
Lists
Unordered
- Create a list by starting a line with
+
,-
, or*
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Marker character change forces new list start:
- Very easy!
Ordered
-
Lorem ipsum dolor sit amet
This is ordered List one content
- Consectetur adipiscing elit
- Integer molestie lorem at massa
This is another ordered list
- You can use sequential numbers…
- …or keep all the numbers as
1.
Start numbering with offset:
- foo
- bar
Code
Inline code
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code “fences”
Sample text here...This is code block...paste some code here to try
Tables
Option | Description |
---|---|
data | path to data files to supply the data that will be passed into templates. |
engine | engine to be used for processing templates. Handlebars is the default. |
ext | extension to be used for dest files. |
Right aligned columns
Option | Description |
---|---|
data | path to data files to supply the data that will be passed into templates. |
engine | engine to be used for processing templates. Handlebars is the default. |
ext | extension to be used for dest files. |
Links
markdown syntax
[link text](http://einverne.github.com)
output:
Add “title text” (which shows up under the cursor)
[link with title](http://einverne.github.io/ "title text!")
output:
Most URLs will automatically be turned into links. To be explicit, just write it like this:
Autoconverted link <https://github.com/einverne>
output:
Autoconverted link https://github.com/einverne
Reference Links
You can also put the [link URL][1] below the current paragraph
like [this][2].
[1]: http://url
[2]: http://another.url "A funky title"
Output:
You can also put the link URL below the current paragraph like this.
Here the text “link URL” gets linked to “http://url”, and the lines showing “1: http://url” won’t show anything.
Or you can use a shortcut reference, which links the text “shortcut” to the link named “shortcut” on the next paragraph.
Or you can use a [shortcut][] reference, which links the text
"shortcut" to the link named "[shortcut]" on the next paragraph.
[shortcut]: http://goes/with/the/link/name/text
Output:
Or you can use a shortcut reference, which links the text “shortcut” to the link named “shortcut” on the next paragraph.
Images
To include an image, just put a “!” in front of a text link:
![Minion](https://octodex.github.com/images/minion.png)
output:
The alternate text will show up if the brower can’t load the image. You can also use a title if you want, like this:
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
output:
Like links, Images also have a footnote style syntax
![Alt text][id]
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
output:
With a reference later in the document defining the URL location:
emoji
+1 :+1:
smile :smile:
laughing :laughing:
wink :wink:
grin :grin:
cry :cry:
confused :confused:
yum :yum:
You can find the Emoji from this link
Footnotes
Footnote 1 link1.
Footnote 2 link2.
Inline footnote^[Text of inline footnote] definition.
Duplicated footnote reference2.
Abbreviations
This is HTML abbreviation example.
It converts “HTML”, but keep intact partial entries like “xxxHTMLyyy” and so on.
因为本 Jekyll 在 _config.yml
中配置使用 kramdown
markdown解释器,所以更多的语法可以参考官方语法页面
公式
使用 MathJax
使用行内模式 $x^2$
显示为 $x^2$
使用块模式,用 $$ ... 公式内容 ... $$
来格式:
这里提供在线 LeTex 公式编辑