tufte-pandoc-jekyll 0.10.1 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/_sass/_pandoc-solarized.scss +30 -30
- data/_sass/_pandoc.scss +0 -12
- data/_sass/_tufte-extra.scss +14 -15
- data/_sass/_tufte.scss +2 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6653daebd6dab4485b59f89bc3f44b17775384494c3d73e2a9c8dcbf5857a32
|
4
|
+
data.tar.gz: 178452888755c2887bb5040ef53eced5a03cb5c0360b3e1fd763696b4573af4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab8082ccc12d1a95f20225d494c3dc6151d74881586cd06ce678da0411d9acbd62cbf122a9f660cca2a987d51f1453f433f56aeb5fa551f00822d554c713b9c
|
7
|
+
data.tar.gz: cd3965dc386f05f6dffcc058ee3b728fa54abf7342e036a22cfb8d5590c5324e6ced22a8138df05fae9ec9d7c2e9738c1bb2c9d5bef5d2bc924d877c31ed2644
|
data/README.md
CHANGED
@@ -23,6 +23,7 @@ them through your package manager (like `apt-get` or `brew`):
|
|
23
23
|
|
24
24
|
```
|
25
25
|
# EXAMPLE: This is for macOS. Change if you're on Linux.
|
26
|
+
# Note: you must have pandoc version 2.0 or greater
|
26
27
|
brew install pandoc
|
27
28
|
brew install jez/formulae/pandoc-sidenote
|
28
29
|
```
|
@@ -105,6 +106,19 @@ pandoc:
|
|
105
106
|
|
106
107
|
Optional: remove `section-divs` if you want to insert `<section>` tags manually.
|
107
108
|
|
109
|
+
## Developing
|
110
|
+
|
111
|
+
To make a release:
|
112
|
+
|
113
|
+
```bash
|
114
|
+
vim tufte-pandoc-jekyll.gemspec
|
115
|
+
git commit tufte-pandoc-jekyll.gemspec -m 'Bump version'
|
116
|
+
git tag "$version"
|
117
|
+
git push --tags origin master
|
118
|
+
gem build tufte-pandoc-jekyll.gemspec
|
119
|
+
gem push "tufte-pandoc-jekyll-$version.gem"
|
120
|
+
```
|
121
|
+
|
108
122
|
|
109
123
|
## License
|
110
124
|
|
@@ -1,32 +1,32 @@
|
|
1
1
|
div.sourceCode, pre:not(.sourceCode) { background: #FDF6E3; }
|
2
2
|
pre code { color: #657B83; }
|
3
|
-
code
|
4
|
-
code
|
5
|
-
code
|
6
|
-
code
|
7
|
-
code
|
8
|
-
code
|
9
|
-
code
|
10
|
-
code
|
11
|
-
code
|
12
|
-
code
|
13
|
-
code
|
14
|
-
code
|
15
|
-
code
|
16
|
-
code
|
17
|
-
code
|
18
|
-
code
|
19
|
-
code
|
20
|
-
code
|
21
|
-
code
|
22
|
-
code
|
23
|
-
code
|
24
|
-
code
|
25
|
-
code
|
26
|
-
code
|
27
|
-
code
|
28
|
-
code
|
29
|
-
code
|
30
|
-
code
|
31
|
-
code
|
32
|
-
|
3
|
+
code span.kw { color: #859900; font-weight: bold; font-style: normal; } /* Keyword */
|
4
|
+
code span.dt { color: #B58900; font-weight: normal; font-style: normal; } /* DataType */
|
5
|
+
code span.dv { color: #2AA198; font-weight: normal; font-style: normal; } /* DecVal */
|
6
|
+
code span.bn { color: #2AA198; font-weight: normal; font-style: normal; } /* BaseN */
|
7
|
+
code span.fl { color: #2AA198; font-weight: normal; font-style: normal; } /* Float */
|
8
|
+
code span.ch { color: #2AA198; font-weight: normal; font-style: normal; } /* Char */
|
9
|
+
code span.st { color: #2AA198; font-weight: normal; font-style: normal; } /* String */
|
10
|
+
code span.co { color: #93A1A1; font-weight: normal; font-style: italic; } /* Comment */
|
11
|
+
code span.ot { color: #268BD2; font-weight: normal; font-style: normal; } /* Other */
|
12
|
+
code span.al { color: #DC322F; font-weight: bold; font-style: normal; } /* Alert */
|
13
|
+
code span.fu { color: #268BD2; font-weight: normal; font-style: normal; } /* Function */
|
14
|
+
code span.er { color: #DC322F; font-weight: bold; font-style: normal; } /* Error */
|
15
|
+
code span.wa { color: #CB4B16; font-weight: bold; font-style: italic; } /* Warning */
|
16
|
+
code span.cn { color: #2AA198; font-weight: normal; font-style: normal; } /* Constant */
|
17
|
+
code span.sc { color: #DC322F; font-weight: normal; font-style: normal; } /* SpecialChar */
|
18
|
+
code span.vs { color: #657B83; font-weight: normal; font-style: normal; } /* VerbatimString */
|
19
|
+
code span.ss { color: #DC322F; font-weight: normal; font-style: normal; } /* SpecialString */
|
20
|
+
code span.im { color: #657B83; font-weight: normal; font-style: normal; } /* Import */
|
21
|
+
code span.va { color: #268BD2; font-weight: normal; font-style: normal; } /* Variable */
|
22
|
+
code span.cf { color: #859900; font-weight: bold; font-style: normal; } /* ControlFlow */
|
23
|
+
code span.op { color: #859900; font-weight: bold; font-style: normal; } /* Operator */
|
24
|
+
code span.bu { color: #657B83; font-weight: normal; font-style: normal; } /* BuiltIn */
|
25
|
+
code span.ex { color: #657B83; font-weight: normal; font-style: normal; } /* Extension */
|
26
|
+
code span.pp { color: #CB4B16; font-weight: normal; font-style: normal; } /* Preprocessor */
|
27
|
+
code span.at { color: #657B83; font-weight: normal; font-style: normal; } /* Attribute */
|
28
|
+
code span.do { color: #93A1A1; font-weight: normal; font-style: italic; } /* Documentation */
|
29
|
+
code span.an { color: #93A1A1; font-weight: bold; font-style: italic; } /* Annotation */
|
30
|
+
code span.cv { color: #93A1A1; font-weight: bold; font-style: italic; } /* CommentVar */
|
31
|
+
code span.in { color: #93A1A1; font-weight: bold; font-style: italic; } /* Information */
|
32
|
+
a.sourceLine::before { text-decoration: none; }
|
data/_sass/_pandoc.scss
CHANGED
@@ -68,21 +68,9 @@ pre:not(.sourceCode) code {
|
|
68
68
|
width: 100%;
|
69
69
|
}
|
70
70
|
|
71
|
-
/* We've handled all the margin/padding on the outer-most div.sourceCode */
|
72
|
-
div.sourceCode pre {
|
73
|
-
padding: 0;
|
74
|
-
margin: 0;
|
75
|
-
}
|
76
|
-
|
77
71
|
@media (max-width: 760px) {
|
78
72
|
div.sourceCode,
|
79
73
|
pre:not(.sourceCode) {
|
80
74
|
width: 100%;
|
81
75
|
}
|
82
76
|
}
|
83
|
-
|
84
|
-
/* Pandoc-generated line numbers need the same stylings as normal <code> */
|
85
|
-
.lineNumbers pre {
|
86
|
-
line-height: 1.42;
|
87
|
-
font-size: 0.9rem;
|
88
|
-
}
|
data/_sass/_tufte-extra.scss
CHANGED
@@ -13,24 +13,23 @@ p.signoff { font-size: 1.2rem; }
|
|
13
13
|
|
14
14
|
body { max-width: 1150px; }
|
15
15
|
|
16
|
-
|
17
|
-
*
|
16
|
+
/**
|
17
|
+
* Makes it so that top-level <p> don't need to be wrapped in <section>
|
18
18
|
*/
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
article > ul {
|
23
|
-
|
24
|
-
-webkit-padding-start: 5%;
|
25
|
-
}
|
19
|
+
article > p, article > footer, article > table { width: 55%; }
|
20
|
+
|
21
|
+
/* 50 + 5 == 55, to be the same width as paragraph */
|
22
|
+
article > ol, article > ul { width: 50%;
|
23
|
+
-webkit-padding-start: 5%; }
|
26
24
|
|
27
25
|
@media (max-width: 760px) {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
article > p, article > footer, article > table {
|
27
|
+
width: 100%;
|
28
|
+
}
|
29
|
+
|
30
|
+
article > ol, article > ul {
|
31
|
+
width: 90%;
|
32
|
+
}
|
34
33
|
}
|
35
34
|
|
36
35
|
/*
|
data/_sass/_tufte.scss
CHANGED
@@ -97,8 +97,6 @@ section > p, section > footer, section > table { width: 55%; }
|
|
97
97
|
section > ol, section > ul { width: 50%;
|
98
98
|
-webkit-padding-start: 5%; }
|
99
99
|
|
100
|
-
li { padding: 0; }
|
101
|
-
|
102
100
|
li:not(:first-child) { margin-top: 0.25rem; }
|
103
101
|
|
104
102
|
figure { padding: 0;
|
@@ -170,6 +168,7 @@ img { max-width: 100%; }
|
|
170
168
|
left: 0.1rem; }
|
171
169
|
|
172
170
|
.sidenote:before { content: counter(sidenote-counter) " ";
|
171
|
+
font-size: 1rem;
|
173
172
|
top: -0.5rem; }
|
174
173
|
|
175
174
|
blockquote .sidenote, blockquote .marginnote { margin-right: -82%;
|
@@ -227,7 +226,7 @@ label.margin-toggle:not(.sidenote-number) { display: none; }
|
|
227
226
|
@media (max-width: 760px) { body { width: 84%;
|
228
227
|
padding-left: 8%;
|
229
228
|
padding-right: 8%; }
|
230
|
-
section > p, section > footer, section > table { width: 100%; }
|
229
|
+
hr, section > p, section > footer, section > table { width: 100%; }
|
231
230
|
pre.code { width: 97%; }
|
232
231
|
section > ol { width: 90%; }
|
233
232
|
section > ul { width: 90%; }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tufte-pandoc-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Zimmerman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll-pandoc
|
@@ -107,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
|
111
|
-
rubygems_version: 2.7.6
|
110
|
+
rubygems_version: 3.1.4
|
112
111
|
signing_key:
|
113
112
|
specification_version: 4
|
114
113
|
summary: A Jekyll theme based on jez/tufte-pandoc-css
|