booklet pagedjs stuff

main
Stephen Kerr 1 year ago
parent bb515c1dc0
commit e13abe3252

@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>
<head>
<script src="paged.js/paged.polyfill.js"></script>
<link href="paged.js/pagedjs.css" rel="stylesheet" type="text/css">
<link href="print.css" rel="stylesheet" type="text/css" media="print">
<meta charset="UTF-8">
</head>
<body>
<p>SI20</p>
<p>The history of Tarot Cards According to History</p>
<p>Some Gossip on gossip</p>
<p>yay</p>
<h1
id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes
the world as it is and the world as it could be are devastatingly close
to each other.</h1>
<p>Is there any point in imagining something that is so similar to the
nightmare we already live in? The future is a dream but its just that
dream where you remember putting your keys somewhere but where, and
youre wandering around looking for them for what feels like hours. Was
it real or not isnt important you were still there. Why are we staying
here, whats even here for us? If you dont get them, theyll get you
first. Then you wake up and you still cant find the fucking keys. But
sometimes its sunny and youre standing there and theres something
cinematic about the whole thing, is it worth it just to be there for
that maybe. Theres really no difference between a dream about falling
and a dream about flying. You search the entire planet, all seven
planets, drinking every last drop, and still no fucking keys. Youre
just watching the whole thing anyway so enjoy it I guess. If you get the
rifle you can use the scope on it to see things in the distance, but
then again maybe you dont need to see that far. The start is always the
best part. Maybe I left them in the bathroom for some reason? Can I help
them, even one of them? They are all so busy killing each other I dont
think they can hear. The forests are beautiful here. One time I sat down
with some of the bots and really got to know them. Until the players
arrive they just sit there together, chatting. Theyre really nice
actually. And then a player ran up beside us, saw that we werent trying
to hurt them, and left. Maybe they were helped, or changed somehow.</p>
<p>The only reason Im still here is because youre still here. 😋</p>
<p><img src="fortnite-10.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-9.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-8.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-7.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-6.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-3.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p>
<p>i deleted it woops. i want to write a paragraph about my mindfulness
game here.</p>
<h1 id="the-superstructure-text-adventure-game">the superstructure text
adventure game</h1>
</body>
</html>

@ -1,45 +1,35 @@
from glob import glob
import os
import subprocess
# https://devdocs.io/python~3.9/library/glob#glob.glob
files = glob("content/**", recursive=True)
print(files)
print("---------")
all_html = ""
for file in files:
#print(file)
if file.endswith(".md"):
print("===========")
file = file.replace(" ", "\ ")
print(file)
html_file = file.replace(".md", ".html")
pandoc_cmd = "pandoc -f markdown -t html " + file + " -o " + html_file
print(pandoc_cmd)
# pandoc_cmd = f"pandoc -f markdown -t html { file } -o { html_file }"
pandoc_cmd = "pandoc -s -c style.css -f markdown -t html " + file + " -o " + html_file
os.system(pandoc_cmd)
print("standalone html files saved!")
#os.system(pandoc_cmd)
print("html file saved!")
# ---------------
# We find all the HTML files,
# read the content,
# and then collect all that content into a variable called "all_html"
html_files = glob("content/**", recursive=True)
print("---------")
pandoc2 = "pandoc -f markdown -t html " + file
html_data = subprocess.run(pandoc2, capture_output=True, text=True).stdout
print("This is the html data: ", html_data)
all_html = ""
# and then collect all that content into a variable called "all_html"
# add this content to all_html
all_html = all_html + html_data
for html_file in html_files:
if html_file.endswith(".html"):
print(html_file)
# open the html file and read the content
html = open(html_file).read()
# add this content to all_html
all_html = all_html + html
print("----------")
print(all_html)
@ -50,6 +40,8 @@ template = f"""<!DOCTYPE html>
<script src="paged.js/paged.polyfill.js"></script>
<link href="paged.js/pagedjs.css" rel="stylesheet" type="text/css">
<link href="print.css" rel="stylesheet" type="text/css" media="print">
<meta charset="UTF-8">
</head>
<body>
{ all_html }

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>colophon</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p>SI20</p>
</body>
</html>

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>index</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p>The history of Tarot Cards According to History</p>
</body>
</html>

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>some-gossip-on-gossip</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p>Some Gossip on gossip</p>
</body>
</html>

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>interpretationtext</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p>yay</p>
</body>
</html>

@ -0,0 +1,70 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="Stephen" />
<title>Fortnite</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">Fortnite</h1>
<p class="author">Stephen</p>
</header>
<h1
id="sometimes-the-world-as-it-is-and-the-world-as-it-could-be-are-devastatingly-close-to-each-other.">Sometimes
the world as it is and the world as it could be are devastatingly close
to each other.</h1>
<p>Is there any point in imagining something that is so similar to the
nightmare we already live in? The future is a dream but its just that
dream where you remember putting your keys somewhere but where, and
youre wandering around looking for them for what feels like hours. Was
it real or not isnt important you were still there. Why are we staying
here, whats even here for us? If you dont get them, theyll get you
first. Then you wake up and you still cant find the fucking keys. But
sometimes its sunny and youre standing there and theres something
cinematic about the whole thing, is it worth it just to be there for
that maybe. Theres really no difference between a dream about falling
and a dream about flying. You search the entire planet, all seven
planets, drinking every last drop, and still no fucking keys. Youre
just watching the whole thing anyway so enjoy it I guess. If you get the
rifle you can use the scope on it to see things in the distance, but
then again maybe you dont need to see that far. The start is always the
best part. Maybe I left them in the bathroom for some reason? Can I help
them, even one of them? They are all so busy killing each other I dont
think they can hear. The forests are beautiful here. One time I sat down
with some of the bots and really got to know them. Until the players
arrive they just sit there together, chatting. Theyre really nice
actually. And then a player ran up beside us, saw that we werent trying
to hurt them, and left. Maybe they were helped, or changed somehow.</p>
<p>The only reason Im still here is because youre still here. 😋</p>
<p><img src="fortnite-10.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-9.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-8.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-7.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-6.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-3.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-2.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-1.jpg" alt="screenshot from Fortnite" /> <img
src="fortnite-0.jpg" alt="screenshot from Fortnite" /></p>
</body>
</html>

@ -1,8 +1,14 @@
#Sometimes the world as it is and the world as it could be are devastatingly close to each other.
---
title: Fortnite
author: Stephen
---
# Sometimes the world as it is and the world as it could be are devastatingly close to each other.
Is there any point in imagining something that is so similar to the nightmare we already live in? The future is a dream but it's just that dream where you remember putting your keys somewhere but where, and you're wandering around looking for them for what feels like hours. Was it real or not isnt important you were still there. Why are we staying here, what's even here for us? If you don't get them, they'll get you first. Then you wake up and you still can't find the fucking keys. But sometimes it's sunny and you're standing there and there's something cinematic about the whole thing, is it worth it just to be there for that maybe. There's really no difference between a dream about falling and a dream about flying. You search the entire planet, all seven planets, drinking every last drop, and still no fucking keys. You're just watching the whole thing anyway so enjoy it I guess. If you get the rifle you can use the scope on it to see things in the distance, but then again maybe you don't need to see that far. The start is always the best part. Maybe I left them in the bathroom for some reason? Can I help them, even one of them? They are all so busy killing each other I don't think they can hear. The forests are beautiful here. One time I sat down with some of the bots and really got to know them. Until the players arrive they just sit there together, chatting. They're really nice actually. And then a player ran up beside us, saw that we weren't trying to hurt them, and left. Maybe they were helped, or changed somehow.
The only reason I'm still here is because you're still here.
The only reason I'm still here is because you're still here. 😋
![screenshot from Fortnite](fortnite-10.jpg)
![screenshot from Fortnite](fortnite-9.jpg)

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>caratextadv</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p>i deleted it woops. i want to write a paragraph about my mindfulness
game here.</p>
</body>
</html>

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>textadventureaglaia</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="style.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<h1 id="the-superstructure-text-adventure-game">the superstructure text
adventure game</h1>
</body>
</html>

@ -0,0 +1 @@
# the superstructure text adventure game

@ -1 +0,0 @@
#the superstructure text adventure game

@ -0,0 +1 @@
p{color: blue;}
Loading…
Cancel
Save