Lab 2 Blog

I have added support to run the program on Linux and Mac OS, as previously, the program would only run on Windows OS. I have also added support for italicized and bold text. In the program, the text inside will get italicized if there is 1 star or one underscore. The text inside will get bolded if there are two stars or two underscores. The problem I faced was getting a text that spanned multiple lines to be italicized or bolded. It would previously work only until the end of the line. I worked until the next key character would close, either italicizing or bolding. I also faced an issue where the program would not work on my Mac. I was getting the error message no such file or directory. This is because Mac os does not support backslashes when reading through directories. I learned to use path.join() instead of backslashes in the path name to give support for Mac OS and Linux OS. I also learned that creating the implementation for bolding the text or italicizing the text only works on a specific line if it is in a for each loop. The for each loop reads line by line. I put the implementation in the main function to be able to have italicized and bold text spanning multiple lines. I find it very difficult to get in touch with my partner. Next time, I would ask other classmates or others if I can not understand something or am struggling to implement something in the code. 

https://github.com/alexsam29/ssg-cli-tool

https://github.com/alexsam29/ssg-cli-tool/issues/12

https://github.com/alexsam29/ssg-cli-tool/issues/11

https://github.com/alexsam29/ssg-cli-tool/compare/main...IvaniGabrovsky:ssg-cli-tool:issue-12?expand=1 

Comments

Popular posts from this blog

Lab 8 Blog

Octoberfest Week 2 Blog

Lab 9 Blog