Added italics and bold styling markdown syntax features #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #23
My intention was to implement additional syntax features for the markdown files such as italics and bold. They should be transformed into html properly and right now they are not.
My solution is to replace all markdown styling symbols with the corresponding html elements. In markdown,
*sample text*
or_sample text_
are used to display the sample text in italics and**sample text**
or__sample text__
are used to display the sample text in bold. Therefore, for html, they have to be transformed into<i></i>
and<b></b>
elements respectively. I integrated my code into the existing markdown module. I combined it with the links replacement part as it uses the same technique.I also added new lines to the testing markdown files to check my features.