feat(markdown-docx): add softbreak transformer - #397#413
Merged
algomaster99 merged 2 commits intoalgoo-ooxmlfrom Jun 18, 2021
Merged
feat(markdown-docx): add softbreak transformer - #397#413algomaster99 merged 2 commits intoalgoo-ooxmlfrom
algomaster99 merged 2 commits intoalgoo-ooxmlfrom
Conversation
Softbreak Rule Check for softbreak in transformer and call rule Test for above(acceptance-of-delivery.json) Signed-off-by: k-kumar-01 <kushalkumargupta4@gmail.com>
algomaster99
suggested changes
Jun 18, 2021
| </w:r> | ||
| `; | ||
| }; | ||
| module.exports = { TEXT_RULE, EMPHASIS_RULE, HEADING_RULE, VARIABLE_RULE, SOFTBREAK_RULE }; |
Contributor
There was a problem hiding this comment.
Insert a line break before this statement.
| }); | ||
| } | ||
| it(`should parse ${file.replace('.json', '')}.`, async () => { | ||
| await checkRoundTripEquality(`${directoryName}/${file}`); |
Contributor
There was a problem hiding this comment.
Rename acceptance-of-delivery to have softbreak in its name. The test cases will be clearer as we don't know what nodes the former contains.
Collaborator
Author
There was a problem hiding this comment.
@algomaster99
accpetance-of-delivery is also used in the OoxmlTransformer. So I didn't change the name. Should I create a new file for the softbreak?
Contributor
There was a problem hiding this comment.
Creating a new file would be great. Thanks!
Signed-off-by: k-kumar-01 <kushalkumargupta4@gmail.com>
algomaster99
approved these changes
Jun 18, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: k-kumar-01 kushalkumargupta4@gmail.com
Partial fix #397
Changes
Author Checklist
--signoffoption of git commit.masterfromfork:branchname