My markdown-parse repository: https://github.com/HuimengLu/CSE15L-Platypus
Repository I reviewed: https://github.com/ezhou413/markdown-parse
I chose the CommonMark demo site to preview the snippets.
In MarkdownParseTest.java
, I created new tests basing on the given snippets.
My repository:
The repository I reviewed:
My repository:
Test 1 and Test 2 passed. Test 3 failed.
The repository I reviewed:
Test 1 passed. Test 2 and Test 3 failed.
(1) Do you think there is a small (<10 lines) code change that will make your program work for snippet 1 and all related cases that use inline code with backticks? If yes, describe the code change. If not, describe why it would be a more involved change.
Snippet 1 passed my test, so there’s no need to change the code in my program.
(2) Do you think there is a small (<10 lines) code change that will make your program work for snippet 2 and all related cases that nest parentheses, brackets, and escaped brackets? If yes, describe the code change. If not, describe why it would be a more involved change.
Snippet 2 passed my test, so there’s no need to change the code in my program.
(3) Do you think there is a small (<10 lines) code change that will make your program work for snippet 3 and all related cases that have newlines in brackets and parentheses? If yes, describe the code change. If not, describe why it would be a more involved change.
I think there is a small code change that can potentially make my program work. What I need to make sure is that right after 1 line break, it is not allowed to have another line break. (Meaning that empty lines between parentheses and brackets are not allowed.)
The allowed situation:
[this title text is really long and takes up more than
one line](
https://ucsd-cse15l-w22.github.io/
)