-
Notifications
You must be signed in to change notification settings - Fork 52
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 variable transformer - #397 #410
feat(markdown-docx): add variable transformer - #397 #410
Conversation
Add helpers and rule Add the transformation logic Add the test for above 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.
Minor changes, then we would be good to go.
I also want you to keep a mental note that the CiceroMarkToOOXML
transformer should also return the counter
object as this would be used in MS Word Add-in. If we don't return it, we would have to parse the OOXML string in the add-in to generate it, which is very prone to error. Since this PR works well on its own, you can do that in a separate PR but first, just understand why the counter
variable is important.
<w:rPr> | ||
<w:color w:val="000000"/> | ||
<w:sz w:val="24"/> | ||
<w:highlight w:val="green"/> |
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.
Remove this for now. We will discuss later if we want to highlight variables or now.
Remove highlight Remove default colour Signed-off-by: k-kumar-01 <[email protected]>
@algomaster99 |
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.
🎉
Signed-off-by: k-kumar-01 <[email protected]>
Signed-off-by: k-kumar-01 <[email protected]>
Signed-off-by: k-kumar-01 [email protected]
Partial fix #397
Adds the roundtrip transformation for
variable
.Changes
Author Checklist
--signoff
option of git commit.master
fromfork:branchname