diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..600d2d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode \ No newline at end of file diff --git a/booklet/booklet.html b/booklet/booklet.html index 7346dcb..6e9e2b1 100644 --- a/booklet/booklet.html +++ b/booklet/booklet.html @@ -1,16 +1,46 @@ - + - - - - - + + + + booklet + + + +

The history of Tarot Cards According to History

-

Some Gossip on gossip

-

yay

+

Some Gossip on gossip yay — title: Fortnite author: Stephen

+
+

Sometimes the world as it is and the world as it could be are devastatingly close @@ -47,10 +77,10 @@ src="fortnite-3.jpg" alt="screenshot from Fortnite" /> screenshot from Fortnite screenshot from Fortnite screenshot from Fortnite

+

i deleted it woops. i want to write a paragraph about my mindfulness game here.

the superstructure text adventure game

- diff --git a/booklet/booklet.md b/booklet/booklet.md new file mode 100644 index 0000000..8c9124e --- /dev/null +++ b/booklet/booklet.md @@ -0,0 +1,33 @@ + +The history of Tarot Cards According to History + + +Some Gossip on gossip +yay +--- +title: Fortnite +author: Stephen + +--- + +:::::{#fortnite .has-images} +# 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. 😋 + +![screenshot from Fortnite](fortnite-10.jpg) +![screenshot from Fortnite](fortnite-9.jpg) +![screenshot from Fortnite](fortnite-8.jpg) +![screenshot from Fortnite](fortnite-7.jpg) +![screenshot from Fortnite](fortnite-6.jpg) +![screenshot from Fortnite](fortnite-3.jpg) +![screenshot from Fortnite](fortnite-2.jpg) +![screenshot from Fortnite](fortnite-1.jpg) +![screenshot from Fortnite](fortnite-0.jpg) +::::: +i deleted it woops. i want to write a paragraph about my mindfulness game here. + + +# the superstructure text adventure game diff --git a/booklet/booklet.py b/booklet/booklet.py index 5d96e0d..24dc14d 100644 --- a/booklet/booklet.py +++ b/booklet/booklet.py @@ -1,6 +1,7 @@ from glob import glob import os import subprocess +import jinja2 # https://devdocs.io/python~3.9/library/glob#glob.glob # files = glob("content/**", recursive=True) @@ -8,6 +9,7 @@ import subprocess print("---------") all_html = "" +all_md = "" folders = glob("content/*") print(folders) @@ -24,49 +26,44 @@ for folder in folders: file = file.replace(" ", "\ ") print(file) - html_file = file.replace(".md", ".html") - pandoc_cmd = "pandoc -s -c style.css -f markdown -t html " + file + " -o " + html_file - os.system(pandoc_cmd) - print("standalone html files saved!") + # html_file = file.replace(".md", ".html") + # pandoc_cmd = "pandoc -s -c style.css -f markdown -t html " + file + " -o " + html_file + # os.system(pandoc_cmd) + # print("standalone html files saved!") - pandoc2 = "pandoc -f markdown -t html " + file - html_data = subprocess.run(pandoc2, capture_output=True, text=True).stdout + # pandoc2 = "pandoc -f markdown -t html " + file + # html_data = subprocess.run(pandoc2, capture_output=True, text=True).stdout - #editing the html before creatings the main file - # filename = os.path.basename(file) - # print("filename", filename) - html_data = html_data.replace(' - - - - - +#take all the css files and write to main css - - - -{ all_html } - - -""" - -output = open("booklet.html", "w") -output.write(template) # Now open this page in the browser, remember: paged.js needs to be accessed through a webserver. diff --git a/booklet/booklet.template.html b/booklet/booklet.template.html new file mode 100644 index 0000000..291502c --- /dev/null +++ b/booklet/booklet.template.html @@ -0,0 +1,13 @@ + + + + + + + + + + +
{{ content }}
+ + \ No newline at end of file diff --git a/booklet/content/pacifist-fortnite/index.html b/booklet/content/pacifist-fortnite/index.html index 9ea6a93..e589a07 100644 --- a/booklet/content/pacifist-fortnite/index.html +++ b/booklet/content/pacifist-fortnite/index.html @@ -30,6 +30,7 @@

Fortnite

Stephen

+

Sometimes the world as it is and the world as it could be are devastatingly close @@ -66,5 +67,6 @@ src="fortnite-3.jpg" alt="screenshot from Fortnite" /> screenshot from Fortnite screenshot from Fortnite screenshot from Fortnite

+

diff --git a/booklet/content/pacifist-fortnite/index.md b/booklet/content/pacifist-fortnite/index.md index 9789db4..5de77aa 100644 --- a/booklet/content/pacifist-fortnite/index.md +++ b/booklet/content/pacifist-fortnite/index.md @@ -4,6 +4,7 @@ author: Stephen --- +:::::{#fortnite .has-images} # 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. @@ -18,4 +19,5 @@ The only reason I'm still here is because you're still here. 😋 ![screenshot from Fortnite](fortnite-3.jpg) ![screenshot from Fortnite](fortnite-2.jpg) ![screenshot from Fortnite](fortnite-1.jpg) -![screenshot from Fortnite](fortnite-0.jpg) \ No newline at end of file +![screenshot from Fortnite](fortnite-0.jpg) +::::: \ No newline at end of file diff --git a/booklet/content/pacifist-fortnite/style.css b/booklet/content/pacifist-fortnite/style.css index 3b13329..cdc1059 100644 --- a/booklet/content/pacifist-fortnite/style.css +++ b/booklet/content/pacifist-fortnite/style.css @@ -1 +1 @@ -p{color: purple} \ No newline at end of file +#fortnite p{color: purple} \ No newline at end of file diff --git a/booklet/content/rituals_archive b/booklet/content/rituals_archive/rituals_archive.md similarity index 100% rename from booklet/content/rituals_archive rename to booklet/content/rituals_archive/rituals_archive.md diff --git a/booklet/style.css b/booklet/print_style.css similarity index 100% rename from booklet/style.css rename to booklet/print_style.css