Add bold and italic delimiter options #118
Open
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.
This PR implements #117, the option to encode italic in markdown as
*text*
instead of_text_
, and the option to change the same for bold (**text**
or__text__
). The UI selectors for these are radio buttons, as shown below:The default settings follow the existing behaviour: asterisks for bold and underscores for italic.
Here is a link to my copy of the test document: https://docs.google.com/document/d/1buiYxin_Nmre3y_sXQbQGT8UFjsAgypWagoWik-YiQc/edit?usp=sharing
It takes several runs of the tool to check the possible option permutations this PR adds, and changing the options form the default will produce results differing from the markdown-verification.md standard output.
Note, however, that the addon code in this repo seems to be missing a few updates - it is still at v1.0B31 while the verification files indicate v1.0B34, so there are some discrepancies in the output because of this (these discrepancies are unrelated to this change). @evbacher Please update the addon code here on GitHub to the latest version (1.0B34).