Skip to content

Commit 8276645

Browse files
author
Jannik Zappe
committed
Theme and Example added
1 parent 5c3f0f1 commit 8276645

File tree

5 files changed

+321
-1
lines changed

5 files changed

+321
-1
lines changed

Example.md

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# An exhibit of Markdown
2+
3+
Example used from this site: [markitdown.net](http://www.markitdown.net/markdown)
4+
5+
This note demonstrates some of what [Markdown][1] is capable of doing.
6+
7+
*Note: Feel free to play with this page. Unlike regular notes, this doesn't automatically save itself.*
8+
9+
## Basic formatting
10+
11+
Paragraphs can be written like so. A paragraph is the basic block of Markdown. A paragraph is what text will turn into when there is no reason it should become anything else.
12+
13+
Paragraphs must be separated by a blank line. Basic formatting of *italics* and **bold** is supported. This *can be **nested** like* so.
14+
15+
# Lists
16+
17+
### Ordered list
18+
19+
1. Item 1
20+
2. A second item
21+
3. Number 3
22+
4.
23+
24+
*Note: the fourth item uses the Unicode character for [Roman numeral four][2].*
25+
26+
### Unordered list
27+
28+
* An item
29+
* Another item
30+
* Yet another item
31+
* And there's more...
32+
33+
# Paragraph modifiers
34+
35+
### Code block
36+
37+
Code blocks are very useful for developers and other people who look at code or other things that are written in plain text. As you can see, it uses a fixed-width font.
38+
39+
You can also make `inline code` to add code into other things.
40+
41+
### Quote
42+
43+
> Here is a quote. What this is should be self explanatory. Quotes are automatically indented when they are used.
44+
45+
## Headings
46+
47+
There are six levels of headings. They correspond with the six levels of HTML headings. You've probably noticed them already in the page. Each level down uses one more hash character.
48+
49+
### Headings *can* also contain **formatting**
50+
51+
### They can even contain `inline code`
52+
53+
Of course, demonstrating what headings look like messes up the structure of the page.
54+
55+
I don't recommend using more than three or four levels of headings here, because, when you're smallest heading isn't too small, and you're largest heading isn't too big, and you want each size up to look noticeably larger and more important, there there are only so many sizes that you can use.
56+
57+
## URLs
58+
59+
URLs can be made in a handful of ways:
60+
61+
* A named link to [MarkItDown][3]. The easiest way to do these is to select what you want to make a link and hit `Ctrl+L`.
62+
* Another named link to [MarkItDown](http://www.markitdown.net/)
63+
* Sometimes you just want a URL like <http://www.markitdown.net/>.
64+
65+
## Horizontal rule
66+
67+
A horizontal rule is a line that goes across the middle of the page.
68+
69+
---
70+
71+
It's sometimes handy for breaking things up.
72+
73+
## Images
74+
75+
Markdown can also contain images. I'll need to add something here sometime.
76+
77+
# Finally
78+
79+
There's actually a lot more to Markdown than this. See the official [introduction][4] and [syntax][5] for more information. However, be aware that this is not using the official implementation, and this might work subtly differently in some of the little things.
80+
81+
82+
[1]: http://daringfireball.net/projects/markdown/
83+
[2]: http://www.fileformat.info/info/unicode/char/2163/index.htm
84+
[3]: http://www.markitdown.net/
85+
[4]: http://daringfireball.net/projects/markdown/basics
86+
[5]: http://daringfireball.net/projects/markdown/syntax

Example.pdf

69.5 KB
Binary file not shown.

Example.png

111 KB
Loading

PrintPretty.css

+225
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
/*
2+
Name: PrintPretty
3+
Author: Jannik Zappe ([email protected])
4+
URL: https://github.com/a1ee9b/print-pretty
5+
*/
6+
@charset "UTF-8";
7+
8+
/** BEGIN normalize-css **/
9+
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
10+
body{margin:0}
11+
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
12+
audio,canvas,progress,video{display:inline-block;vertical-align:baseline}
13+
audio:not([controls]){display:none;height:0}
14+
[hidden],template{display:none}
15+
a{background:transparent}
16+
a:active,a:hover{outline:0}
17+
abbr[title]{border-bottom:1px dotted}
18+
dfn{font-style:italic}
19+
h1{font-size:2em;margin:.67em 0}
20+
mark{background:#ff0;color:#000}
21+
small{font-size:80%}
22+
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
23+
sup{top:-.5em}
24+
sub{bottom:-.25em}
25+
img{border:0}
26+
svg:not(:root){overflow:hidden}
27+
figure{margin:1em 40px}
28+
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
29+
code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}
30+
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
31+
button{overflow:visible}
32+
button,select{text-transform:none}
33+
button,html input[type=button],/* 1 */
34+
input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
35+
button[disabled],html input[disabled]{cursor:default}
36+
input{line-height:normal}
37+
input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}
38+
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}
39+
input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
40+
input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
41+
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
42+
table{border-collapse:collapse;border-spacing:0}
43+
td,th{padding:0}
44+
b,strong,optgroup{font-weight:700}
45+
pre,textarea{overflow:auto}
46+
button::-moz-focus-inner,input::-moz-focus-inner,legend{border:0;padding:0}
47+
/** END normalize-css **/
48+
49+
html
50+
{
51+
max-width: 21cm;
52+
text-align: center;
53+
}
54+
55+
body
56+
{
57+
font: 16px Helvetica;
58+
color: #333333;
59+
background-color: #FFFFFF;
60+
text-align: left;
61+
62+
line-height: 1.7em;
63+
margin: 0px 1cm;
64+
}
65+
66+
p
67+
{
68+
margin: 10px 0.8cm;
69+
}
70+
71+
72+
a
73+
{
74+
color: #4183C4;
75+
text-decoration: none;
76+
}
77+
a:hover, a:focus, a:active
78+
{
79+
text-decoration: underline;
80+
}
81+
a:focus
82+
{
83+
outline: thin dotted;
84+
}
85+
a:active, a:hover
86+
{
87+
outline: 0px none;
88+
}
89+
90+
hr {
91+
color: #9D9D9D;
92+
border-style: none none solid;
93+
border-width: medium medium 1px;
94+
95+
margin: 0px 15px;
96+
}
97+
98+
99+
strong
100+
{
101+
font-weight: bold;
102+
}
103+
small
104+
{
105+
font-size: 0.85em;
106+
}
107+
108+
109+
figure
110+
{
111+
display: inline-block;
112+
border-radius: 6px;
113+
margin: 5px 20px;
114+
border: 1px solid #9D9D9D;
115+
}
116+
117+
figure figcaption
118+
{
119+
text-align: center;
120+
padding-top: 6px;
121+
padding-bottom: 6px;
122+
}
123+
img
124+
{
125+
max-width: 100%;
126+
max-height: 14,8cm;
127+
}
128+
129+
h1, h2, h3, h4, h5, h6
130+
{
131+
line-height: 1.1;
132+
font-weight: bold;
133+
134+
margin: 1em 0px 15px;
135+
padding: 0px;
136+
}
137+
h1
138+
{
139+
border-bottom: 1px solid #DDDDDD;
140+
font-size: 2.5em;
141+
page-break-before: always;
142+
}
143+
h1:first-of-type
144+
{
145+
page-break-before: avoid;
146+
}
147+
h2
148+
{
149+
font-size: 2em;
150+
page-break-before: always;
151+
}
152+
h3
153+
{
154+
font-size: 1.5em;
155+
}
156+
h4
157+
{
158+
font-size: 1.2em;
159+
}
160+
h5
161+
{
162+
font-size: 1em;
163+
}
164+
h6
165+
{
166+
color: #777777;
167+
font-size: 1em;
168+
}
169+
170+
171+
ul, ol
172+
{
173+
margin: 0px 40px;
174+
padding: 0px;
175+
padding-left: 28px;
176+
}
177+
ul ul, ul ol, ol ol, ol ul
178+
{
179+
margin: 0 auto;
180+
}
181+
182+
blockquote
183+
{
184+
border-left: 4px solid #DDDDDD;
185+
color: #777777;
186+
margin: 0px 40px;
187+
padding: 0px 15px;
188+
}
189+
190+
blockquote > :first-child
191+
{
192+
margin-top: 0px;
193+
}
194+
195+
blockquote > :last-child
196+
{
197+
margin-bottom: 0px;
198+
}
199+
200+
code, pre
201+
{
202+
font-family: Consolas, "Liberation Mono", Courier, monospace;
203+
font-size: 0.85em;
204+
max-width: 100%;
205+
white-space: normal;
206+
margin: 0px 40px;
207+
}
208+
pre
209+
{
210+
margin-bottom: 0px;
211+
margin-top: 0px;
212+
}
213+
code
214+
{
215+
background-color: #F8F8F8;
216+
border-radius: 3px 3px 3px 3px;
217+
border: 1px solid #DDDDDD;
218+
padding: 0px 0px;
219+
margin: 0;
220+
}
221+
pre code
222+
{
223+
border: medium none;
224+
padding: 0px;
225+
}

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
PrintPretty
22
===========
33

4-
A theme for Lightpaper that is intended for export to PDF
4+
This theme is intended to be used for PDF for print. It emphasizes good readability with a clean font and sizing.
5+
6+
## Example
7+
8+
9+
10+
11+
## Installation
12+
13+
Look at the [Lightpaper Repository](https://github.com/ClockworkEngine/LightPaper-Support/blob/master/LightPaper%20for%20Mac/LightPaper%20for%20Mac%20-%20Adding%20Custom%20Themes.md) for installation instructions.

0 commit comments

Comments
 (0)