Copy the code into Word in a format

Hello, everyone
How do I preserve the formatting of the repeatable code from reprex::reprex() and copy it into Word? like the belowing code's format(color,size,and others). Is it possible?Thank you for your help in advance.

In the quarto document, change the format to docx and render the document. You will get a word document with the code. You can edit the word file or copy the code to another word document.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.