Skip to content

Commit 835e0a8

Browse files
committed
Update
1 parent f3b8522 commit 835e0a8

5 files changed

Lines changed: 24 additions & 6 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# -*- conding: utf-8 -*-
2-
# 2025.8.6
2+
# 2026.2.14
33

44
# Dir
55
.idea/
66
.vscode/
7+
.venv/
78
.history/
89

910
# File

file/ptools/main.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# -*- coding: utf-8 -*-
2+
3+
import markdown
4+
import platform
5+
import importlib.metadata
6+
from rich.logging import RichHandler
7+
import logging
8+
9+
def main() -> int:
10+
logging.basicConfig(level=logging.DEBUG, format="%(message)s", handlers=[RichHandler()])
11+
logging.info("Starting main process.")
12+
logging.debug(f"Python version: {platform.python_version()}")
13+
logging.debug(f"markdown module version: {markdown.__version__}")
14+
logging.debug(f"rich module version: {importlib.metadata.version('rich')}")
15+
return 0
16+
17+
if __name__ == '__main__':
18+
exit(main())

include/script.js

Whitespace-only changes.

include/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ body.line-numbers { min-height: 100vh; }
137137
code, pre{ font-family: var(--mono-font), system-ui; }
138138

139139
/* 使带 class="chinese" 的有序/无序列表整体居中,且点/序号与文本一起居中显示 */
140-
ul {
141-
margin: 0 auto;
142-
width: fit-content;
143-
}
140+
ul { margin: 0 auto;width: fit-content; }
141+
142+
.no_print { display: none; }

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2 class="chinese" style="text-align: left;">公告</h2>
4949
<br/>
5050
<strong>But</strong>还有下学期……放完暑假就六年级了……上初中还能打电脑吗?😥
5151
</p>
52-
<p class="chinese funny" style="text-align: center;">[点我] 救救孩子 😰</p>
52+
<p class="chinese funny" style="text-align: center;" onclick="alert('救不了一点😭')">[点我] 救救孩子 😰</p>
5353
</div>
5454
</div>
5555
<div id="copyright">

0 commit comments

Comments
 (0)