cheatset 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/cheatset/templates/style.css +7 -0
- data/lib/cheatset/templates/style.scss +10 -2
- data/lib/cheatset/version.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: 8a7cff5cf1487c0fef78f6013283e7b167cc1a64ec9938defbc317a21adf059f
|
4
|
+
data.tar.gz: 0bb0916201eb1d27677fb9cb8f5146a1887a54cebd9e9d88b70a8faf69e1bbb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26a07fdcd1ba96f17d9c25e46208321ef5239bb709d5c54ecbe271634e14113e40f84f8e3f47c354c8c9469f94bf2fba1bc9f2fd888d0b9c9e142e6932c14259
|
7
|
+
data.tar.gz: 24a70af2864c96f6bf7c02cfc6af0eac0681425c921cd7898077e145df376a28ec65365e959f12ab52f1e2366a625bed59f8c6dc3e5be0a073e21490301fb600
|
data/README.md
CHANGED
@@ -94,7 +94,8 @@ Apart from the attributes listed in the sample cheat sheet above, you can also u
|
|
94
94
|
* `style` (under `cheatsheet`) - define any CSS style you want. See example [here](https://github.com/Kapeli/cheatsheets/blob/f9e40e30b6fde9063b7a0fb5de8fb203851b17df/cheatsheets/CSS_Named_Colors.rb#L7-L12)
|
95
95
|
* `html_class` (under `category`) - define a HTML class to be added to a category. This can be used to define custom styling for each category
|
96
96
|
* `td_command` (under `entry`) - just like `command`, but multiple ones are added in a separate column (as opposed to a separate row)
|
97
|
-
* `td_notes` (under `entry`) - just like `notes
|
97
|
+
* `td_notes` (under `entry`) - just like `notes` but can be repeated multiple times, each becoming a separate column
|
98
|
+
* `html_notes` (under `entry`) - just like `notes`, but doesn't support Markdown
|
98
99
|
* `index_name` (under `entry`) - this is not displayed in the cheat sheet at all. You can use it to define a separate index name (i.e what gets added to Dash's search index and is searchable in Dash). In other words, if this entry is not present, the value in `name` is used.
|
99
100
|
|
100
101
|
## Thanks
|
@@ -69,7 +69,7 @@ code, pre {
|
|
69
69
|
font-size:13px;
|
70
70
|
}
|
71
71
|
|
72
|
-
code {
|
72
|
+
code {
|
73
73
|
margin:0;
|
74
74
|
border:1px solid #ddd;
|
75
75
|
background-color:#f8f8f8;
|
@@ -119,6 +119,14 @@ section.notes {
|
|
119
119
|
article {
|
120
120
|
margin: 2em 1em;
|
121
121
|
}
|
122
|
+
|
123
|
+
@media print {
|
124
|
+
section.category {
|
125
|
+
page-break-inside: avoid;
|
126
|
+
break-inside: avoid;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
122
130
|
section.category {
|
123
131
|
border: 2px solid $dark_gray;
|
124
132
|
border-radius: 6px 6px;
|
@@ -145,7 +153,7 @@ td {
|
|
145
153
|
}
|
146
154
|
th {
|
147
155
|
border-left:1px solid $lighter_gray;
|
148
|
-
}
|
156
|
+
}
|
149
157
|
tr {
|
150
158
|
border-bottom:1px dotted $lighter_gray;
|
151
159
|
}
|
data/lib/cheatset/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheatset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdan Popescu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|