diff --git a/1_situation/content/i_need_A_notebook.md b/1_situation/content/i_need_A_notebook.md new file mode 100644 index 0000000..b84940a --- /dev/null +++ b/1_situation/content/i_need_A_notebook.md @@ -0,0 +1,2 @@ +I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order. \ No newline at end of file diff --git a/1_situation/content/scroll.md b/1_situation/content/scroll.md new file mode 100644 index 0000000..b88e4c0 --- /dev/null +++ b/1_situation/content/scroll.md @@ -0,0 +1 @@ +![wiki scroll](wiki-scroll.jpg) \ No newline at end of file diff --git a/1_situation/fastnotes.md b/1_situation/fastnotes.md deleted file mode 100644 index 79d0c35..0000000 --- a/1_situation/fastnotes.md +++ /dev/null @@ -1,2 +0,0 @@ -# for fast notes -![captiontext](img.jpg) \ No newline at end of file diff --git a/1_situation/make-a-notebook-that/create_new_connections.md b/1_situation/make-a-notebook-that/create_new_connections.md new file mode 100644 index 0000000..6172667 --- /dev/null +++ b/1_situation/make-a-notebook-that/create_new_connections.md @@ -0,0 +1 @@ +# to create new connections between content diff --git a/1_situation/make-a-notebook-that/fastnotes.md b/1_situation/make-a-notebook-that/fastnotes.md new file mode 100644 index 0000000..1949c9f --- /dev/null +++ b/1_situation/make-a-notebook-that/fastnotes.md @@ -0,0 +1 @@ +# for fast notes diff --git a/1_situation/make-a-notebook-that/for_personal_thoughts.md b/1_situation/make-a-notebook-that/for_personal_thoughts.md new file mode 100644 index 0000000..2f2472a --- /dev/null +++ b/1_situation/make-a-notebook-that/for_personal_thoughts.md @@ -0,0 +1 @@ +# for personal thoughts diff --git a/1_situation/make-a-notebook-that/long_lecture.md b/1_situation/make-a-notebook-that/long_lecture.md new file mode 100644 index 0000000..7bdcc83 --- /dev/null +++ b/1_situation/make-a-notebook-that/long_lecture.md @@ -0,0 +1 @@ +# for a long lecture diff --git a/1_situation/make-a-notebook-that/map_of_thoughts.md b/1_situation/make-a-notebook-that/map_of_thoughts.md new file mode 100644 index 0000000..fb32e77 --- /dev/null +++ b/1_situation/make-a-notebook-that/map_of_thoughts.md @@ -0,0 +1 @@ +# to create a flow of thoughts to look at all at the same time diff --git a/1_situation/make-a-notebook-that/not_to_hesitate_writing.md b/1_situation/make-a-notebook-that/not_to_hesitate_writing.md new file mode 100644 index 0000000..f4acdb7 --- /dev/null +++ b/1_situation/make-a-notebook-that/not_to_hesitate_writing.md @@ -0,0 +1 @@ +# not to hesitate while writing/approaching the space diff --git a/1_situation/make-a-notebook-that/not_to_waste.md b/1_situation/make-a-notebook-that/not_to_waste.md new file mode 100644 index 0000000..16aa1c6 --- /dev/null +++ b/1_situation/make-a-notebook-that/not_to_waste.md @@ -0,0 +1 @@ +# not to waste materials diff --git a/1_situation/make-a-notebook-that/stream_of_consciousness.md b/1_situation/make-a-notebook-that/stream_of_consciousness.md new file mode 100644 index 0000000..892b6e5 --- /dev/null +++ b/1_situation/make-a-notebook-that/stream_of_consciousness.md @@ -0,0 +1 @@ +# to help a stream of consciousness diff --git a/1_situation/make-a-notebook-that/temporary_notes.md b/1_situation/make-a-notebook-that/temporary_notes.md new file mode 100644 index 0000000..60e9a08 --- /dev/null +++ b/1_situation/make-a-notebook-that/temporary_notes.md @@ -0,0 +1 @@ +# for temporary notes diff --git a/1_situation/make-a-notebook-that/to_calm_anxiety.md b/1_situation/make-a-notebook-that/to_calm_anxiety.md new file mode 100644 index 0000000..d678008 --- /dev/null +++ b/1_situation/make-a-notebook-that/to_calm_anxiety.md @@ -0,0 +1 @@ +# to calm anxiety diff --git a/1_situation/make-a-notebook-that/to_describe_one_experience.md b/1_situation/make-a-notebook-that/to_describe_one_experience.md new file mode 100644 index 0000000..df03bf6 --- /dev/null +++ b/1_situation/make-a-notebook-that/to_describe_one_experience.md @@ -0,0 +1 @@ +# to describe one experience diff --git a/1_situation/make-a-notebook-that/to_forget.md b/1_situation/make-a-notebook-that/to_forget.md new file mode 100644 index 0000000..a3bf06e --- /dev/null +++ b/1_situation/make-a-notebook-that/to_forget.md @@ -0,0 +1 @@ +# to forget things diff --git a/1_situation/make-a-notebook-that/to_organise.md b/1_situation/make-a-notebook-that/to_organise.md new file mode 100644 index 0000000..0ced3f0 --- /dev/null +++ b/1_situation/make-a-notebook-that/to_organise.md @@ -0,0 +1 @@ +# to organise scattered thoughts diff --git a/1_situation/make-a-notebook-that/to_remember.md b/1_situation/make-a-notebook-that/to_remember.md new file mode 100644 index 0000000..e8bf5c4 --- /dev/null +++ b/1_situation/make-a-notebook-that/to_remember.md @@ -0,0 +1,2 @@ +# to remember things +![captiontext](img.jpg) \ No newline at end of file diff --git a/1_situation/make-a-notebook-that/to_share.md b/1_situation/make-a-notebook-that/to_share.md new file mode 100644 index 0000000..9574772 --- /dev/null +++ b/1_situation/make-a-notebook-that/to_share.md @@ -0,0 +1 @@ +# to share with others diff --git a/1_situation/make-a-notebook-that/transportable.md b/1_situation/make-a-notebook-that/transportable.md new file mode 100644 index 0000000..a22b685 --- /dev/null +++ b/1_situation/make-a-notebook-that/transportable.md @@ -0,0 +1 @@ +# transportable diff --git a/1_situation/transportable.md b/1_situation/transportable.md deleted file mode 100644 index e69de29..0000000 diff --git a/2_binding/content/i_need_A_notebook.md b/2_binding/content/i_need_A_notebook.md new file mode 100644 index 0000000..6ecf0a8 --- /dev/null +++ b/2_binding/content/i_need_A_notebook.md @@ -0,0 +1 @@ +BLABLABLABLA BINDING \ No newline at end of file diff --git a/2_binding/content/scroll.md b/2_binding/content/scroll.md new file mode 100644 index 0000000..b88e4c0 --- /dev/null +++ b/2_binding/content/scroll.md @@ -0,0 +1 @@ +![wiki scroll](wiki-scroll.jpg) \ No newline at end of file diff --git a/2_binding/make-a-notebook-that/already_own_cardboard.md b/2_binding/make-a-notebook-that/already_own_cardboard.md new file mode 100644 index 0000000..378197e --- /dev/null +++ b/2_binding/make-a-notebook-that/already_own_cardboard.md @@ -0,0 +1 @@ +# to adapt a cardboard you already own \ No newline at end of file diff --git a/2_binding/make-a-notebook-that/glue_bound.md b/2_binding/make-a-notebook-that/glue_bound.md new file mode 100644 index 0000000..c6409f7 --- /dev/null +++ b/2_binding/make-a-notebook-that/glue_bound.md @@ -0,0 +1 @@ +# glue bound diff --git a/2_binding/make-a-notebook-that/hard_cover.md b/2_binding/make-a-notebook-that/hard_cover.md new file mode 100644 index 0000000..f360f68 --- /dev/null +++ b/2_binding/make-a-notebook-that/hard_cover.md @@ -0,0 +1 @@ +# hard cover diff --git a/2_binding/make-a-notebook-that/metal_rings.md b/2_binding/make-a-notebook-that/metal_rings.md new file mode 100644 index 0000000..e919938 --- /dev/null +++ b/2_binding/make-a-notebook-that/metal_rings.md @@ -0,0 +1 @@ +# metal rings diff --git a/2_binding/make-a-notebook-that/no_binding.md b/2_binding/make-a-notebook-that/no_binding.md new file mode 100644 index 0000000..10c6637 --- /dev/null +++ b/2_binding/make-a-notebook-that/no_binding.md @@ -0,0 +1 @@ +# no binding diff --git a/2_binding/make-a-notebook-that/rubber_band.md b/2_binding/make-a-notebook-that/rubber_band.md new file mode 100644 index 0000000..0a5ac12 --- /dev/null +++ b/2_binding/make-a-notebook-that/rubber_band.md @@ -0,0 +1 @@ +# rubber band diff --git a/2_binding/make-a-notebook-that/soft_cover.md b/2_binding/make-a-notebook-that/soft_cover.md new file mode 100644 index 0000000..8d36847 --- /dev/null +++ b/2_binding/make-a-notebook-that/soft_cover.md @@ -0,0 +1 @@ +# soft cover diff --git a/2_binding/make-a-notebook-that/something_around_you.md b/2_binding/make-a-notebook-that/something_around_you.md new file mode 100644 index 0000000..563e1cb --- /dev/null +++ b/2_binding/make-a-notebook-that/something_around_you.md @@ -0,0 +1 @@ +# something you have in the room you are in diff --git a/2_binding/make-a-notebook-that/spiral.md b/2_binding/make-a-notebook-that/spiral.md new file mode 100644 index 0000000..20d5784 --- /dev/null +++ b/2_binding/make-a-notebook-that/spiral.md @@ -0,0 +1 @@ +# spiral diff --git a/2_binding/make-a-notebook-that/sticks.md b/2_binding/make-a-notebook-that/sticks.md new file mode 100644 index 0000000..00b6d7f --- /dev/null +++ b/2_binding/make-a-notebook-that/sticks.md @@ -0,0 +1 @@ +# sticks diff --git a/2_binding/make-a-notebook-that/strings.md b/2_binding/make-a-notebook-that/strings.md new file mode 100644 index 0000000..343a552 --- /dev/null +++ b/2_binding/make-a-notebook-that/strings.md @@ -0,0 +1 @@ +# strings diff --git a/2_binding/make-a-notebook-that/strips.md b/2_binding/make-a-notebook-that/strips.md new file mode 100644 index 0000000..24e491a --- /dev/null +++ b/2_binding/make-a-notebook-that/strips.md @@ -0,0 +1 @@ +# strips diff --git a/2_binding/make-a-notebook-that/tape.md b/2_binding/make-a-notebook-that/tape.md new file mode 100644 index 0000000..a3763e3 --- /dev/null +++ b/2_binding/make-a-notebook-that/tape.md @@ -0,0 +1 @@ +# tape diff --git a/2_binding/make-a-notebook-that/thread_bound.md b/2_binding/make-a-notebook-that/thread_bound.md new file mode 100644 index 0000000..250183d --- /dev/null +++ b/2_binding/make-a-notebook-that/thread_bound.md @@ -0,0 +1 @@ +# thread bound diff --git a/3_paperformat/content/i_need_A_notebook.md b/3_paperformat/content/i_need_A_notebook.md new file mode 100644 index 0000000..b84940a --- /dev/null +++ b/3_paperformat/content/i_need_A_notebook.md @@ -0,0 +1,2 @@ +I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order. \ No newline at end of file diff --git a/3_paperformat/content/scroll.md b/3_paperformat/content/scroll.md new file mode 100644 index 0000000..b88e4c0 --- /dev/null +++ b/3_paperformat/content/scroll.md @@ -0,0 +1 @@ +![wiki scroll](wiki-scroll.jpg) \ No newline at end of file diff --git a/3_paperformat/make-a-notebook-that/big.md b/3_paperformat/make-a-notebook-that/big.md new file mode 100644 index 0000000..d0e8919 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/big.md @@ -0,0 +1 @@ +# very big diff --git a/3_paperformat/make-a-notebook-that/dotted_paper.md b/3_paperformat/make-a-notebook-that/dotted_paper.md new file mode 100644 index 0000000..cb70a48 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/dotted_paper.md @@ -0,0 +1 @@ +# dotted paper diff --git a/3_paperformat/make-a-notebook-that/horizontal.md b/3_paperformat/make-a-notebook-that/horizontal.md new file mode 100644 index 0000000..0952efe --- /dev/null +++ b/3_paperformat/make-a-notebook-that/horizontal.md @@ -0,0 +1 @@ +# horizontal diff --git a/3_paperformat/make-a-notebook-that/lined_paper.md b/3_paperformat/make-a-notebook-that/lined_paper.md new file mode 100644 index 0000000..42ff33a --- /dev/null +++ b/3_paperformat/make-a-notebook-that/lined_paper.md @@ -0,0 +1 @@ +# lined paper diff --git a/3_paperformat/make-a-notebook-that/little_space_for_writing.md b/3_paperformat/make-a-notebook-that/little_space_for_writing.md new file mode 100644 index 0000000..638ffc3 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/little_space_for_writing.md @@ -0,0 +1 @@ +# with very little space for writing diff --git a/3_paperformat/make-a-notebook-that/medium_size.md b/3_paperformat/make-a-notebook-that/medium_size.md new file mode 100644 index 0000000..8e678bc --- /dev/null +++ b/3_paperformat/make-a-notebook-that/medium_size.md @@ -0,0 +1 @@ +# medium size diff --git a/3_paperformat/make-a-notebook-that/plain_paper.md b/3_paperformat/make-a-notebook-that/plain_paper.md new file mode 100644 index 0000000..5e91d88 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/plain_paper.md @@ -0,0 +1 @@ +# plain paper diff --git a/3_paperformat/make-a-notebook-that/rough_paper.md b/3_paperformat/make-a-notebook-that/rough_paper.md new file mode 100644 index 0000000..90268e2 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/rough_paper.md @@ -0,0 +1 @@ +# rough paper diff --git a/3_paperformat/make-a-notebook-that/small.md b/3_paperformat/make-a-notebook-that/small.md new file mode 100644 index 0000000..6dea82a --- /dev/null +++ b/3_paperformat/make-a-notebook-that/small.md @@ -0,0 +1 @@ +# very small diff --git a/3_paperformat/make-a-notebook-that/smooth_paper.md b/3_paperformat/make-a-notebook-that/smooth_paper.md new file mode 100644 index 0000000..75846e8 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/smooth_paper.md @@ -0,0 +1 @@ +# smooth paper \ No newline at end of file diff --git a/3_paperformat/make-a-notebook-that/space_for_marginalia.md b/3_paperformat/make-a-notebook-that/space_for_marginalia.md new file mode 100644 index 0000000..2ea4a8b --- /dev/null +++ b/3_paperformat/make-a-notebook-that/space_for_marginalia.md @@ -0,0 +1 @@ +# with space for marginalia diff --git a/3_paperformat/make-a-notebook-that/space_for_writing.md b/3_paperformat/make-a-notebook-that/space_for_writing.md new file mode 100644 index 0000000..bc49213 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/space_for_writing.md @@ -0,0 +1 @@ +# with a lot of space for writing diff --git a/3_paperformat/make-a-notebook-that/squared_paper.md b/3_paperformat/make-a-notebook-that/squared_paper.md new file mode 100644 index 0000000..e1a5150 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/squared_paper.md @@ -0,0 +1 @@ +# squared paper \ No newline at end of file diff --git a/3_paperformat/make-a-notebook-that/thick_paper.md b/3_paperformat/make-a-notebook-that/thick_paper.md new file mode 100644 index 0000000..154ac04 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/thick_paper.md @@ -0,0 +1 @@ +# with thick paper diff --git a/3_paperformat/make-a-notebook-that/thin_paper.md b/3_paperformat/make-a-notebook-that/thin_paper.md new file mode 100644 index 0000000..2f45327 --- /dev/null +++ b/3_paperformat/make-a-notebook-that/thin_paper.md @@ -0,0 +1 @@ +# with thin paper diff --git a/3_paperformat/make-a-notebook-that/vertical.md b/3_paperformat/make-a-notebook-that/vertical.md new file mode 100644 index 0000000..f7aef9a --- /dev/null +++ b/3_paperformat/make-a-notebook-that/vertical.md @@ -0,0 +1 @@ +# vertical shape diff --git a/4_add_ons/content/i_need_A_notebook.md b/4_add_ons/content/i_need_A_notebook.md new file mode 100644 index 0000000..b84940a --- /dev/null +++ b/4_add_ons/content/i_need_A_notebook.md @@ -0,0 +1,2 @@ +I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order. \ No newline at end of file diff --git a/4_add_ons/content/scroll.md b/4_add_ons/content/scroll.md new file mode 100644 index 0000000..b88e4c0 --- /dev/null +++ b/4_add_ons/content/scroll.md @@ -0,0 +1 @@ +![wiki scroll](wiki-scroll.jpg) \ No newline at end of file diff --git a/4_add_ons/make-a-notebook-that/for_additional_content.md b/4_add_ons/make-a-notebook-that/for_additional_content.md new file mode 100644 index 0000000..261f535 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/for_additional_content.md @@ -0,0 +1 @@ +# to add content after the page is already full diff --git a/4_add_ons/make-a-notebook-that/multiple_nb_in_one.md b/4_add_ons/make-a-notebook-that/multiple_nb_in_one.md new file mode 100644 index 0000000..81d88d8 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/multiple_nb_in_one.md @@ -0,0 +1 @@ +# to have multiple notebooks in one diff --git a/4_add_ons/make-a-notebook-that/space_for_temporary_thoughts.md b/4_add_ons/make-a-notebook-that/space_for_temporary_thoughts.md new file mode 100644 index 0000000..4bd02b5 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/space_for_temporary_thoughts.md @@ -0,0 +1 @@ +# to create space for temporary thoughts diff --git a/4_add_ons/make-a-notebook-that/to_highlight_pages.md b/4_add_ons/make-a-notebook-that/to_highlight_pages.md new file mode 100644 index 0000000..bab8e7a --- /dev/null +++ b/4_add_ons/make-a-notebook-that/to_highlight_pages.md @@ -0,0 +1,2 @@ +# to remember or highlight specific pages + diff --git a/4_add_ons/make-a-notebook-that/to_keep_it_closed.md b/4_add_ons/make-a-notebook-that/to_keep_it_closed.md new file mode 100644 index 0000000..8624286 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/to_keep_it_closed.md @@ -0,0 +1,2 @@ +# to keep the notebook closed while transporting it + diff --git a/4_add_ons/make-a-notebook-that/to_make_different_sections.md b/4_add_ons/make-a-notebook-that/to_make_different_sections.md new file mode 100644 index 0000000..8d998f4 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/to_make_different_sections.md @@ -0,0 +1 @@ +# to separate content in different sections diff --git a/4_add_ons/make-a-notebook-that/to_save_loose_sheets.md b/4_add_ons/make-a-notebook-that/to_save_loose_sheets.md new file mode 100644 index 0000000..ec9371e --- /dev/null +++ b/4_add_ons/make-a-notebook-that/to_save_loose_sheets.md @@ -0,0 +1 @@ +# to save/keep loose sheets diff --git a/4_add_ons/make-a-notebook-that/to_transport_tools.md b/4_add_ons/make-a-notebook-that/to_transport_tools.md new file mode 100644 index 0000000..abcd1f8 --- /dev/null +++ b/4_add_ons/make-a-notebook-that/to_transport_tools.md @@ -0,0 +1 @@ +# to transport tools (e.g. pen) within the notebook diff --git a/howtomakeanotebookthat.md - Shortcut.lnk b/howtomakeanotebookthat.md - Shortcut.lnk new file mode 100644 index 0000000..d36eabb Binary files /dev/null and b/howtomakeanotebookthat.md - Shortcut.lnk differ diff --git a/notebooks.html b/notebooks.html new file mode 100644 index 0000000..e374e10 --- /dev/null +++ b/notebooks.html @@ -0,0 +1,50 @@ + + + + + + + Document + + + + + + + + +
+

wiki scroll

+

to calm anxiety

+

wiki scroll

+

hard cover

+

I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order.

+

with space for marginalia

+

wiki scroll

+

to add content after the page is already full

+
+ + + + + +
+

I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order.

+

for personal thoughts

+

BLABLABLABLA BINDING

+

soft cover

+

wiki scroll

+

smooth paper

+

I need a notebook for ideas sketching and development = where to write down a sudden idea fast and easy and then have the space to develop it in the future = organised but free space to express maybe with sum-up window/space +I always feel like when I write on my paper notebooks is never definitive, i feel it like a work in progress that then is completed when I move the notes on my laptop. If I move them on my laptop not organised I feel stressed because it doesn't allow me to think/reason/process but it doesn't even allow my brain to relax because things are in order.

+

to separate content in different sections

+
+ + + + + + + diff --git a/output.html b/output.html deleted file mode 100644 index 6c30761..0000000 --- a/output.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Markdown Folders - - - -
- -
-
-

1_situation

-
    - -
  • -

    fastnotes.md

    -
    # for fast notes -![captiontext](img.jpg)
    -
  • - -
  • -

    transportable.md

    -
    -
  • - -
-
-
- -
-
-

2_binding

-
    - -
-
-
- -
-
-

3_paperformat

-
    - -
-
-
- -
-
-

4_add_ons

-
    - -
-
-
- -
- - \ No newline at end of file diff --git a/script.py b/script.py index 2ba2f32..5a89099 100644 --- a/script.py +++ b/script.py @@ -1,20 +1,127 @@ import os import markdown +from random import choice # Get the directory path of the script script_dir = os.path.dirname(os.path.abspath(__file__)) materials = ['1_situation', '2_binding', '3_paperformat', '4_add_ons'] +cards = { + '1_situation' : { + 'content' : [], + 'make-a-notebook-that' : [] + }, + + '2_binding' : { + 'content' : [], + 'make-a-notebook-that' : [] + }, + + '3_paperformat' : { + 'content' : [], + 'make-a-notebook-that' : [] + }, + + '4_add_ons' : { + 'content' : [], + 'make-a-notebook-that' : [] + } + +} + for folder in materials: - md_folder = os.path.join(script_dir, folder) - md_files = os.listdir(md_folder) - print(md_files) - for md_file in md_files: - file_path = os.path.join(md_folder, md_file) - with open(file_path, 'r') as file: - md = file.read() - html_md = markdown.markdown(md) - print(html_md) - -#to create html file i need to create a template + material_folder_path = os.path.join(script_dir, folder) + card_folders = os.listdir(material_folder_path) + #print(material_folder_path) + for card_folder in card_folders: + card_folder_path = os.path.join(material_folder_path, card_folder) + #print(card_folder_path) #these are content and make a notebook that folders paths + md_files = os.listdir(card_folder_path) + #print(md_files) + for md_file in md_files: + file_path = os.path.join(card_folder_path, md_file) + #print(file_path) + with open(file_path, 'r') as file: + md = file.read() + card = markdown.markdown(md) + #print(card) # the print of all the md files + cards[folder][card_folder].append(card) + + +number_pages = 2 +pages = [] + + +for page in range(number_pages): + + + card_1= choice(cards["1_situation"]["content"]) + cards["1_situation"]["content"].remove(card_1) + card_2= choice(cards["1_situation"]["make-a-notebook-that"]) + cards["1_situation"]["make-a-notebook-that"].remove(card_2) + + card_3= choice(cards["2_binding"]["content"]) + cards["2_binding"]["content"].remove(card_3) + card_4= choice(cards["2_binding"]["make-a-notebook-that"]) + cards["2_binding"]["make-a-notebook-that"].remove(card_4) + + card_5= choice(cards["3_paperformat"]["content"]) + cards["3_paperformat"]["content"].remove(card_5) + card_6= choice(cards["3_paperformat"]["make-a-notebook-that"]) + cards["3_paperformat"]["make-a-notebook-that"].remove(card_6) + + card_7= choice(cards["4_add_ons"]["content"]) + cards["4_add_ons"]["content"].remove(card_7) + card_8= choice(cards["4_add_ons"]["make-a-notebook-that"]) + cards["4_add_ons"]["make-a-notebook-that"].remove(card_8) + + + + page_html = f''' + +
+
{card_1}
+
{card_2}
+
{card_3}
+
{card_4}
+
{card_5}
+
{card_6}
+
{card_7}
+
{card_8}
+
+ + + ''' + + pages.append(page_html) + print(page_html) + + +#print(pages) +pages_string = "\n".join(pages) + +html_template = f''' + + + + + + Document + + + + + + +{pages_string} + + + + +''' + +print(html_template) + +with open('notebooks.html', 'w') as out: + out.write(html_template) diff --git a/script2.py b/script2.py new file mode 100644 index 0000000..7e341f1 --- /dev/null +++ b/script2.py @@ -0,0 +1,67 @@ +import os +from jinja2 import Environment, Template +import markdown + +# Configuration +materials = ['1_situation', '2_binding', '3_paperformat', '4_add_ons'] +output_file = 'output.html' + +# Prepare data for template rendering +data = [] +for folder in materials: + markdown_files = os.listdir(folder) + folder_data = { + 'folder_name': folder, + 'markdown_files': [] + } + for markdown_file in markdown_files: + file_path = os.path.join(folder, markdown_file) + with open(file_path, 'r') as file: + content = file.read() + folder_data['markdown_files'].append({'file_name': markdown_file, 'content': content}) + data.append(folder_data) + +# Define the HTML template +template = """ + + + + Markdown Folders + + + +
+ {% for folder_data in data %} +
+
+

{{ folder_data.folder_name }}

+
    + {% for file_data in folder_data.markdown_files %} +
  • +

    {{ file_data.file_name }}

    +
    {{ file_data.content }}
    +
  • + {% endfor %} +
+
+
+ {% endfor %} +
+ + +""" + +# Create the Jinja2 environment +env = Environment() + +# Create the template from the template string +template = env.from_string(template) + +# Render the template with data +html_output = template.render(data=data) + +# Write the HTML output to file +with open(output_file, 'w') as file: + file.write(html_output) diff --git a/style.css b/style.css new file mode 100644 index 0000000..ad57293 --- /dev/null +++ b/style.css @@ -0,0 +1,48 @@ + +body{ height: 297mm; + width: 210mm; + +} + +.page { + height: 297mm; + width: 210mm; + + +} + +.card { + + border: 5mm solid rosybrown; + width: 45%; + float: left; + width: 90mm; + height: 66mm; + +} + +h1{ + font-size: 10pt; + font-family: 'Courier New', Courier, monospace; + color: #c4007a; + padding-left: 2cm; + text-align: center; + padding-top: 50px; +} + +p{ + font-size: 10pt; + font-family:'Fjord', sans-serif; + color: #9594c4; + padding-right: 2cm; + text-align: center; + + +} + +img { + width: 90mm;; + height: 66mm; + object-fit: cover; + +} \ No newline at end of file diff --git a/template.html b/template.html new file mode 100644 index 0000000..d1c1edc --- /dev/null +++ b/template.html @@ -0,0 +1,45 @@ + + + + + + Document + + + + +
+
this is dummy material i need a notebook for ideas sketchin blbalbla
+
to organise scattered thoughts
+
+
gluebound
+
smoothest paper to prevent myself from
+
with thin paper
+
to transport tools
+
needs to be at 90 degrees
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/wiki-scroll.jpg b/wiki-scroll.jpg new file mode 100644 index 0000000..759d4cd Binary files /dev/null and b/wiki-scroll.jpg differ