mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-30 23:30:53 +08:00
able to build org
Set theme jekyll-theme-architect
This commit is contained in:
parent
d7283a7785
commit
bf4a00a709
@ -1 +1 @@
|
||||
theme: jekyll-theme-cayman
|
||||
theme: jekyll-theme-architect
|
1
cGF5IG1lIHNvbWUgbW9uZXJv.txt
Normal file
1
cGF5IG1lIHNvbWUgbW9uZXJv.txt
Normal file
@ -0,0 +1 @@
|
||||
47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R
|
@ -1,51 +0,0 @@
|
||||
#+STARTUP: indent
|
||||
#+TITLE: Editor Cheetsheet
|
||||
|
||||
* VIM
|
||||
** deletion
|
||||
| key | usage |
|
||||
|-------+------------------------|
|
||||
| x | 删除光标所在处单词 |
|
||||
| de | 删除到本单词末尾 |
|
||||
| db | 删除到前一个单词 |
|
||||
| d$ | 删除光标位置到本行结束 |
|
||||
| d0 | 删除光标位置到本行开头 |
|
||||
| u/C-r | 撤销/重做 |
|
||||
| | |
|
||||
|
||||
** movement
|
||||
| key | usage |
|
||||
|---------+----------------------------|
|
||||
| w | 下一个单词 |
|
||||
| e | 单词尾 |
|
||||
| 0/$ | 行首/尾 |
|
||||
| H/M/L | 当前页面可见顶部/中间/底部 |
|
||||
| <num> G | 跳转到第几行 |
|
||||
|
||||
** visual
|
||||
| key | usage | next |
|
||||
|-----+--------------+------------------------|
|
||||
| V | 行选择 | |
|
||||
| C-v | 矩形区域选择 | S-i 插入, esc 批量执行 |
|
||||
| v | | movement |
|
||||
| | | |
|
||||
|
||||
|
||||
** file/split
|
||||
| key | usage |
|
||||
|-------------+--------------|
|
||||
| :n/:N | 文件之间切换 |
|
||||
| :b | 切换到文件 |
|
||||
| C-w h/j/k/l | 切换分屏窗口 |
|
||||
| ZZ | :wq |
|
||||
|
||||
|
||||
|
||||
* EMACS
|
||||
** org-mode
|
||||
| key | usage |
|
||||
|-----------+-----------|
|
||||
| C-c \vbar | 创建表格 |
|
||||
| C-c C-e | 导出 HTML |
|
||||
| | |
|
||||
| | |
|
165
css/org-css.css
Normal file
165
css/org-css.css
Normal file
@ -0,0 +1,165 @@
|
||||
body {
|
||||
line-height:1.2;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family:Source Han Serif SC, "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||
font-size: medium;
|
||||
font-size:20px;
|
||||
}
|
||||
p{
|
||||
font-size:20px;
|
||||
}
|
||||
H1 {
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||
}
|
||||
|
||||
H2 {
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||
margin-bottom: 60px;
|
||||
margin-bottom: 40px;
|
||||
padding: 5px;
|
||||
border-bottom: 2px LightGrey solid;
|
||||
width: 90%;
|
||||
line-height: 150%;
|
||||
color: DarkGreen;
|
||||
}
|
||||
|
||||
|
||||
H3 {
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 1px LightGrey solid;
|
||||
width: 80%;
|
||||
line-height: 150%;
|
||||
color: DarkBlue;
|
||||
}
|
||||
|
||||
|
||||
H4 {
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 1px LightGrey solid;
|
||||
width: 80%;
|
||||
line-height: 150%;
|
||||
color: DarkBlue;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
blockquote {
|
||||
font-family: 'Source Sans Pro', Tahoma, Geneva, 'STKaiti', 'KaiTi', '楷体', 'SimKai', 'DFKai-SB', 'NSimSun', serif;
|
||||
border-left: 4px crimson solid;
|
||||
color:grey;
|
||||
padding-left: 5px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
|
||||
/*pre {
|
||||
font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||
font-size: 75%;
|
||||
border: solid 1px lightgrey;
|
||||
background-color: Ivory;
|
||||
padding: 5px;
|
||||
line-height: 130%;
|
||||
margin-left: 10px;
|
||||
width: 95%;
|
||||
}*/
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
padding: 8pt;
|
||||
font-family: monospace;
|
||||
overflow: auto;
|
||||
margin: 1.2em;
|
||||
}
|
||||
|
||||
/*pre.src{
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}*/
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: Consolas, Inconsolata, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/*pre.src {
|
||||
background-color:#2e3436; color: #eeeeec;
|
||||
}*/
|
||||
pre.src, pre.example {
|
||||
display: block;
|
||||
white-space: pre-wrap;
|
||||
padding: 0.5em;
|
||||
/*background-color: hsl(0,0%,95%);*/
|
||||
background-color: Ivory;
|
||||
border: solid thin gray;
|
||||
font-family: "DejaVu Sans Mono",monospace;
|
||||
box-shadow: 10px 10px 10px #888;
|
||||
}
|
||||
/*pre.example {
|
||||
background-color:rgb(239,239,239);
|
||||
/* text-align: center; */
|
||||
}*/
|
||||
|
||||
code {
|
||||
font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
cursor: crosshair;
|
||||
border-bottom: 1px dashed Red;
|
||||
padding: 1px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
a:hover {
|
||||
background-color: LightGrey;
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
margin-left: 10px;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 70%;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
|
||||
hr {
|
||||
color: LightGrey;
|
||||
}
|
||||
#content, #tag-cloud-wrapper{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
/*position: relative;*/
|
||||
background: rgb(255, 255, 255);
|
||||
/*margin: 5% 20%;*/
|
||||
/*padding-left: 250px;*/
|
||||
padding: 100px;
|
||||
width:1000px;
|
||||
line-height:1.6;
|
||||
-moz-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||
-webkit-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||
border-radius: 6px;
|
||||
}
|
7
index.md
7
index.md
@ -8,13 +8,12 @@ Minecraft 红石玩家, [B站](https://space.bilibili.com/489732092)<br>
|
||||
[elixir 写点对点加密聊天软件](p2p_chat)<br>
|
||||
[博客, YouTube 等收集](internet_collections)<br>
|
||||
[我对 SciCraft 更新1.19的看法](scicraft_update)<br>
|
||||
[我的 gnome 配置](my_gnome_configt)<br>
|
||||
[编辑器操作备忘录](cheetsheet)<br>
|
||||
[我的 gnome 配置](my_gnome_config)<br>
|
||||
[编辑器操作备忘录](org-html/cheatsheet)<br>
|
||||
<!--
|
||||
[对我将来的视频网站的一些畅想](plan_for_my_video_site)<br>
|
||||
-->
|
||||
|
||||
---
|
||||
|
||||
*pay me some monero :)*<br>
|
||||
*47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R*
|
||||
*[pay me some monero](cGF5IG1lIHNvbWUgbW9uZXJv.txt)*<br>
|
||||
|
@ -9,3 +9,6 @@ html:
|
||||
@$(EMACS) $(EMACS_OPTS)
|
||||
@echo "HTML generation done"
|
||||
|
||||
clean:
|
||||
rm ./../org-html/*.html
|
||||
rm ~/.org-timestamps/org-pages.cache
|
||||
|
@ -1,4 +1,6 @@
|
||||
#+STARTUP: indent
|
||||
#+TITLE: Editor Cheatsheet
|
||||
|
||||
|
||||
* VIM
|
||||
** deletion
|
||||
@ -17,6 +19,7 @@
|
||||
|---------+----------------------------|
|
||||
| w | 下一个单词 |
|
||||
| e | 单词尾 |
|
||||
| b | 单词头 |
|
||||
| 0/$ | 行首/尾 |
|
||||
| H/M/L | 当前页面可见顶部/中间/底部 |
|
||||
| <num> G | 跳转到第几行 |
|
||||
|
@ -4,13 +4,17 @@
|
||||
;; 能不能有点创新...
|
||||
|
||||
(require 'org)
|
||||
(require 'ox)
|
||||
|
||||
(setq org-html-validation-link nil)
|
||||
(setq org-publish-project-alist
|
||||
'(("org-pages"
|
||||
:base-directory "."
|
||||
:base-extension "org"
|
||||
:publishing-directory "./.."
|
||||
:publishing-directory "./../org-html/"
|
||||
:recursive t
|
||||
:publishing-function org-html-export-to-html
|
||||
:publishing-function org-html-publish-to-html
|
||||
:html-head "<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />" ; instead of :style
|
||||
)))
|
||||
|
||||
(defun myweb-publish ()
|
||||
|
Loading…
Reference in New Issue
Block a user