Skip to content
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

Support conversion of text color in docx ? #1181

Open
pchelle opened this issue Feb 13, 2024 · 0 comments
Open

Support conversion of text color in docx ? #1181

pchelle opened this issue Feb 13, 2024 · 0 comments
Labels
question Further information is requested type: feature Word report

Comments

@pchelle
Copy link
Collaborator

pchelle commented Feb 13, 2024

Thanks to the pandoc raw_attribute, we can currently support the conversion of md documents that include html tags into docx

Another potential tag to convert can be font color:
In md and html, we have usually

<font color="blue">this is blue text</font>

In openxml, it needs to be converted this way:

<w:r><w:rPr><w:color w:val="blue"/></w:rPr>this is blue text</w:r>
@pchelle pchelle added question Further information is requested type: feature Word report labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested type: feature Word report
Projects
None yet
Development

No branches or pull requests

1 participant