-
Notifications
You must be signed in to change notification settings - Fork 29
feat: adds evanderblue01 folder for lesson_01 assignments #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
836c797
d70588d
146b49a
14e60c5
d1de635
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Markdown Conversion Script | ||
|
|
||
| ## Introduction | ||
|
|
||
| In this README, I explain how I created an script that takes a Markdown file and converts it into a HTML file. | ||
|
|
||
| ## My thought initial thought process | ||
|
|
||
| Prior to writing any code I wanted a outlook on how I wanted to achieve my objective. I thought about some tools I could use and instally thought of utilizing python. I have a very brief history with python and knew I could create a function that accepts arguments. | ||
|
|
||
| ## Correct locations and folders | ||
|
|
||
| I made sure I was in the right directory and had my folders named correctly so the path way to files is correct and efficient. | ||
|
|
||
| ## The Code | ||
|
|
||
| The script works by using the command line to take two arguemnts. The input markdown file and the name of the output file(That file can be named anything). The contents of the markdown file will be read and written into a new html file with the same content. |
emblue252 marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is this file supposed to differ from
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The converted_md_file.html is the converted file created from the python script. The README.html file is the hand written code I did for the original assignment asking to do the README.md in html.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should go into an |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| <h1>Evander M. Blue README</h1> | ||
| <h2>Introduction</h2> | ||
| <p>Evander is an aspiring software engineer with a love for technology and artificial intelligence. He has a bachelor's degree in computer science. Evander hopes to continue learning and collaborating with other technologists to achieve his dream of becoming an AI engineer. </p> | ||
| <h2>Prerequisites</h2> | ||
| <p><strong>Listed below are some things that keep me happy and benefit my overall mental health</strong> | ||
| 1. Reading Daily | ||
| - This can be in the form of comics, manga, novels, or news articles. | ||
| 2. Physical Fitness/Exercise | ||
| - Fitness is a very important part of my life. | ||
| - I grew up playing multiple sports from kindergarten to university. | ||
| - It helps me relieve stress while staying in good shape. | ||
| 3. Meditation | ||
| - I'm reading a book called Joyful Wisdom by Yongey Mingyur Rinpoche. This book goes into extensive detail on how to control your mind and the power of meditation. | ||
| - Meditating 10 minutes at the start of my day helps me clear my thoughts and focus my mind on the objectives ahead of me. | ||
| 4. Family Time | ||
| - The love of my family means everything to me so I make it a priority to allocate time to spend with them either in person or electronically.</p> | ||
| <h2>How to work with Evander</h2> | ||
| <p>Working with Evander is straightforward and very collaborative. He values clear communication, shared goals, and mutual respect. He's open to feedback, contributing consistently, and staying organized to meet deadlines. If something isn’t working, he'll speak up and work toward a solution. He believes teamwork is most effective when everyone brings their strengths and stays accountable.</p> | ||
| <h2>Things I Like and Dislike when working</h2> | ||
| <h3>Likes</h3> | ||
| <ul> | ||
| <li>I like neat work environments. This allows me to think clearly and stay focused on work</li> | ||
| <li>Clear instructions</li> | ||
| <li>Friendly atmosphere </li> | ||
| <li>Efficient workstations</li> | ||
| </ul> | ||
| <h3>Dislikes</h3> | ||
| <ul> | ||
| <li>Workspace chaos</li> | ||
| <li>No communication</li> | ||
| <li>No accountability</li> | ||
| <li>Lack of goals </li> | ||
| <li>Laziness</li> | ||
| </ul> | ||
| <h2>Fun Facts About Evander</h2> | ||
| <ul> | ||
| <li>I went to a private high school</li> | ||
| <li>I train in Jiu Jitsu</li> | ||
| <li>I was in the Navy</li> | ||
| <li>I was born in Pennsylvania</li> | ||
| <li>My favorite dessert is cheesecake</li> | ||
| <li>I love to fish </li> | ||
| <li>I love the ocean</li> | ||
| <li>Favorite Movie is Star Wars Episode III Revenge of the Sith</li> | ||
| <li>Favorite anime character is Goku from Dragonball</li> | ||
| <li>Favorite comic character is a tie between Superman and The Silver Surfer</li> | ||
| </ul> | ||
| <h2>How do I learn?</h2> | ||
| <p>I am a visual and kinesthetic learner. I retain information a lot more effectively by seeing something be done first, then physically doing it myself. Demos help me out a lot, that's why Youtube is my favorite teacher. </p> | ||
| <h2>One of my goals next year</h2> | ||
| <p>A goal I have for next year is to take a trip to the West Coast of the United States. The farthest I've traveled west so far is Texas, so exploring states like California, Oregon, or Washington would be a brand new experience for me. There's a lot of culture, natural beauty, and history on that end of the country that I’d love to immerse myself in. From iconic cities like San Francisco and Los Angeles to the stunning coastal views along Highway 1, I want to see it all. I'm especially interested in visiting historical landmarks, trying regional foods, and learning more about the diverse communities that live there. It’s not just about sightseeing, it’s about gaining a broader perspective and making unforgettable memories along the way.</p> | ||
| <h2>Some of my favorite photos</h2> | ||
| <h3>Phillies Game July 2025</h3> | ||
| <p><img alt="Phillies Game July 19th, 2025" src="images/IMG_7399.jpg" /></p> | ||
| <h3>Trip to Niagara Falls 2024</h3> | ||
| <p><img alt="Niagara Falls" src="images/IMG_6868.jpg" /></p> | ||
| <h3>Picture of me!</h3> | ||
| <p><img alt="Me in Baltimore" src="images/IMG_1248.jpg" /></p> | ||
| <h3>Favorite GIF</h3> | ||
| <p><img alt="Gojo doing a hollow purple" src="images/Gojo_s_Hollow_Purple_Technique_Jujutsu_Kaisen_Episode_20.gif" /></p> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>evander_README_in_html_hw</title> | ||
| <style> | ||
| body { | ||
| background-color: #1e1e1e; | ||
| color: #d4d4d4; | ||
| } | ||
| h1, h2 { | ||
| text-decoration: underline; | ||
| text-underline-offset: 3px; | ||
| text-decoration-thickness: 0.10px; | ||
| border-bottom: 0.25px solid #d4d4d448; | ||
| padding-bottom: 4px; | ||
| margin-bottom: 16px; | ||
| text-decoration: none; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <header> | ||
| <h1>Evander M. Blue README</h1> | ||
| </header> | ||
| <main> | ||
| <section> | ||
| <h2>Introduction</h2> | ||
| <p> | ||
| Evander is an aspiring software engineer with a love for technology | ||
| and artificial intelligence. He has a bachelor's degree in computer | ||
| science. Evander hopes to continue learning and collaborating with | ||
| other technologists to achieve his dream of becoming an AI engineer. | ||
| </p> | ||
| </section> | ||
| <section> | ||
| <h2>Prerequisites</h2> | ||
| <ol> | ||
| <li> | ||
| Reading Daily | ||
| <ul> | ||
| <li>This can be in the form of comics, manga, novels, or news articles.</li> | ||
| </ul> | ||
| </li> | ||
| <li>Physical Fitness/Exercise</li> | ||
| <ul> | ||
| <li>Fitness is a very important part of my life.</li> | ||
| <li>I grew up playing multiple sports from kindergarten to university.</li> | ||
| <li>It helps me relieve stress while staying in good shape.</li> | ||
| </ul> | ||
| <li>Meditation</li> | ||
| <ul> | ||
| <li>I'm reading a book called Joyful Wisdom by Yongey Mingyur Rinpoche. This book goes into extensive detail on how to control your mind and the power of meditation.</li> | ||
| <li>Meditating 10 minutes at the start of my day helps me clear my thoughts and focus my mind on the objectives ahead of me.</li> | ||
| </ul> | ||
| <li>Family Time</li> | ||
| <ul> | ||
| <li>The love of my family means everything to me so I make it a priority to allocate time to spend with them either in person or electronically.</li> | ||
| </ul> | ||
| </ol> | ||
| </section> | ||
| <section> | ||
| <h2>How to work with Evander</h2> | ||
| <p>Working with Evander is straightforward and very collaborative. He values clear communication, shared goals, and mutual respect. He's open to feedback, contributing consistently, and staying organized to meet deadlines. If something isn’t working, he'll speak up and work toward a solution. He believes teamwork is most effective when everyone brings their strengths and stays accountable.</p> | ||
| </section> | ||
| <section> | ||
| <h2>Things I Like and Dislike when working</h2> | ||
| <h3>Likes</h3> | ||
| <ul> | ||
| <li>I like neat work environments. This allows me to think clearly and stay focused on work</li> | ||
| <li>Clear instructions</li> | ||
| <li>Friendly atmosphere</li> | ||
| <li>Efficient workstations</li> | ||
| </ul> | ||
| <h3>Dislikes</h3> | ||
| <ul> | ||
| <li>Workspace chaos</li> | ||
| <li>No communication</li> | ||
| <li>No accountability</li> | ||
| <li>Lack of goals</li> | ||
| <li>Laziness</li> | ||
| </ul> | ||
| </section> | ||
| <section> | ||
| <h2>Fun Facts About Evander</h2> | ||
| <ul> | ||
| <li>I went to a private high school</li> | ||
| <li>I train in Jiu Jitsu</li> | ||
| <li>I was in the Navy</li> | ||
| <li>I was born in Pennsylvania</li> | ||
| <li>My favorite dessert is cheesecake</li> | ||
| <li>I love to fish</li> | ||
| <li>I love the ocean</li> | ||
| <li>Favorite Movie is Star Wars Episode III Revenge of the Sith</li> | ||
| <li>Favorite anime character is Goku from Dragonball</li> | ||
| <li>Favorite comic character is a tie between Superman and The Silver Surfer</li> | ||
| </ul> | ||
| </section> | ||
| <section> | ||
| <h2>How do I learn?</h2> | ||
| <p>I am a visual and kinesthetic learner. I retain information a lot more effectively by seeing something be done first, then physically doing it myself. Demos help me out a lot, that's why Youtube is my favorite teacher.</p> | ||
| </section> | ||
| <section> | ||
| <h2>One of my goals next year</h2> | ||
| <p>A goal I have for next year is to take a trip to the West Coast of the United States. The farthest I've traveled west so far is Texas, so exploring states like California, Oregon, or Washington would be a brand new experience for me. There's a lot of culture, natural beauty, and history on that end of the country that I’d love to immerse myself in. From iconic cities like San Francisco and Los Angeles to the stunning coastal views along Highway 1, I want to see it all. I'm especially interested in visiting historical landmarks, trying regional foods, and learning more about the diverse communities that live there. It’s not just about sightseeing, it’s about gaining a broader perspective and making unforgettable memories along the way.</p> | ||
| </section> | ||
| <section> | ||
| <h2>Some of my favorite photos</h2> | ||
| <h3>Philles Game July 2025</h3> | ||
| <img src="images/IMG_7399.jpg" alt="Phillies game" width="300"> | ||
| <h3>Trip to Niagara Falls 2024</h3> | ||
| <img src="images/IMG_6868.jpg" alt="Niagara Falls" width="300"> | ||
| <h3>Picture of me!</h3> | ||
| <img src="images/IMG_1248.jpg" alt="Evander in Baltimore" width="300"> | ||
| <h3>Favorite GIF</h3> | ||
| <img src="images/Gojo_s_Hollow_Purple_Technique_Jujutsu_Kaisen_Episode_20.gif" alt="Gojo doing a hollow purple"> | ||
| </section> | ||
| </main> | ||
| </body> | ||
| </html> |
emblue252 marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| import argparse | ||
| import markdown | ||
|
|
||
| # This function converts Markdown code into HTML code | ||
|
|
||
|
|
||
| def convert_md_to_html(input_file, output_file): | ||
| with open(input_file, 'r', encoding="utf-8") as f: | ||
| # reads the content of the markdown file | ||
| markdown_content = f.read() | ||
|
|
||
| # converts the markdown content to html | ||
| html = markdown.markdown(markdown_content) | ||
|
|
||
| # writes the html code to a file | ||
| with open(output_file, 'w', encoding="utf-8") as f: | ||
| f.write(html) | ||
|
|
||
| print(f"html file created: {output_file}") | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| parser = argparse.ArgumentParser(description="Convert Markdown to HTML") | ||
| parser.add_argument("input", help="Input Markdown file") | ||
| parser.add_argument("output", help="Output HTML file") | ||
|
|
||
| args = parser.parse_args() | ||
| convert_md_to_html(args.input, args.output) |
Uh oh!
There was an error while loading. Please reload this page.