-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(markdown-docx): add softbreak transformer - #397 #413
feat(markdown-docx): add softbreak transformer - #397 #413
Conversation
Softbreak Rule Check for softbreak in transformer and call rule Test for above(acceptance-of-delivery.json) Signed-off-by: k-kumar-01 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
</w:r> | ||
`; | ||
}; | ||
module.exports = { TEXT_RULE, EMPHASIS_RULE, HEADING_RULE, VARIABLE_RULE, SOFTBREAK_RULE }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Insert a line break before this statement.
}); | ||
} | ||
it(`should parse ${file.replace('.json', '')}.`, async () => { | ||
await checkRoundTripEquality(`${directoryName}/${file}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating a new file would be great. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@algomaster99 Done
Signed-off-by: k-kumar-01 <[email protected]>
Signed-off-by: k-kumar-01 [email protected]
Partial fix #397
Changes
Author Checklist
--signoff
option of git commit.master
fromfork:branchname