ppz 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/asset/style/ppz.css +24 -2
- data/asset/style/ppz.styl +25 -2
- data/bin/common.rb +1 -1
- data/lib/model/comment/container.rb +1 -1
- data/lib/model/comment/item.rb +1 -1
- data/lib/model/special-block/container.rb +1 -1
- data/lib/model/special-block/item.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db8561048fbdfb9e93187118596495ca8fad34f653d4ecc919ec1e3002c90b82
|
|
4
|
+
data.tar.gz: d3620d7c86e55d1c31b34d1a4ae530ec7e3240782974493663ad6a72b07fefe1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca3f12b9c1abdc2ed308e0690aece4480ad8e27ba33bdb5f2f6e187f1ddc7ae53e48459f2e8b50e698b492581a21053eb70e903f20016fcb47de6abce4ed0671
|
|
7
|
+
data.tar.gz: 7f17a5aa3aff40111985b42e5544888d3f21c7295aa4d23ef81b56c5cb3193b4d3cca1d46062fcc88ea6023ef0e6492b7b9b5d05af32aefbc684fb93da0050ef
|
data/asset/style/ppz.css
CHANGED
|
@@ -51,14 +51,36 @@ h2::before,
|
|
|
51
51
|
h3::before {
|
|
52
52
|
content: '# ';
|
|
53
53
|
opacity: 0.3;
|
|
54
|
+
font-size: 1rem;
|
|
54
55
|
}
|
|
55
|
-
.
|
|
56
|
-
|
|
56
|
+
.comment-container {
|
|
57
|
+
margin: 1rem 0;
|
|
58
|
+
padding: 1rem 1.6rem;
|
|
59
|
+
background: rgba(0,0,0,0.2);
|
|
60
|
+
font-size: 0.9rem;
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
}
|
|
63
|
+
.comment-item {
|
|
64
|
+
opacity: 0.8;
|
|
65
|
+
}
|
|
66
|
+
.special-block-container {
|
|
57
67
|
background: #141c22;
|
|
58
68
|
overflow: auto;
|
|
59
69
|
border-radius: 4px;
|
|
60
70
|
color: #eee;
|
|
71
|
+
font-family: monospace;
|
|
72
|
+
white-space: pre;
|
|
73
|
+
margin: 1rem 0;
|
|
61
74
|
padding: 1rem;
|
|
75
|
+
counter-reset: line-index;
|
|
76
|
+
}
|
|
77
|
+
.special-block-item::before {
|
|
78
|
+
counter-increment: line-index;
|
|
79
|
+
content: counter(line-index) " | ";
|
|
80
|
+
opacity: 0.3;
|
|
81
|
+
}
|
|
82
|
+
.special-block-item:hover::before {
|
|
83
|
+
opacity: 0.8;
|
|
62
84
|
}
|
|
63
85
|
.special-txt {
|
|
64
86
|
background: rgba(27,31,35,0.05);
|
data/asset/style/ppz.styl
CHANGED
|
@@ -43,14 +43,37 @@ h1, h2, h3
|
|
|
43
43
|
&::before
|
|
44
44
|
content '# '
|
|
45
45
|
opacity 0.3
|
|
46
|
+
font-size 1rem
|
|
46
47
|
|
|
47
|
-
.
|
|
48
|
-
|
|
48
|
+
.comment-container
|
|
49
|
+
margin 1rem 0
|
|
50
|
+
padding 1rem 1.6rem
|
|
51
|
+
background rgba(0, 0, 0, 0.2)
|
|
52
|
+
font-size 0.9rem
|
|
53
|
+
border-radius 4px
|
|
54
|
+
.comment-item
|
|
55
|
+
opacity 0.8
|
|
56
|
+
|
|
57
|
+
.special-block-container
|
|
49
58
|
background #141c22
|
|
50
59
|
overflow auto
|
|
51
60
|
border-radius 4px
|
|
52
61
|
color #eeeeee
|
|
62
|
+
|
|
63
|
+
font-family monospace
|
|
64
|
+
white-space pre
|
|
65
|
+
|
|
66
|
+
margin 1rem 0
|
|
53
67
|
padding 1rem
|
|
68
|
+
|
|
69
|
+
counter-reset line-index
|
|
70
|
+
.special-block-item
|
|
71
|
+
&::before
|
|
72
|
+
counter-increment line-index
|
|
73
|
+
content counter(line-index) " | "
|
|
74
|
+
opacity 0.3
|
|
75
|
+
&:hover::before
|
|
76
|
+
opacity 0.8
|
|
54
77
|
|
|
55
78
|
.special-txt
|
|
56
79
|
background rgba(27, 31, 35, 0.05)
|
data/bin/common.rb
CHANGED
|
@@ -22,7 +22,7 @@ module PPZMain
|
|
|
22
22
|
# + 输出文件
|
|
23
23
|
unless target_out
|
|
24
24
|
# 从输入文件获取文件名
|
|
25
|
-
target_out = (/(.*).ppz$/.match target_in)?$1:target_in
|
|
25
|
+
target_out = ((/(.*).ppz$/.match target_in)?$1:target_in) + '.pp'
|
|
26
26
|
end
|
|
27
27
|
target_out = WORK_DIRECTORY + target_out
|
|
28
28
|
# ++ 检查上级文件夹是否存在
|
data/lib/model/comment/item.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ppz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- wuse
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: 372301467@qq.com
|