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

added doc download button #189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

h2o-Noob
Copy link

@h2o-Noob h2o-Noob commented Feb 15, 2024

Changes

A new way to maintain style while exporting a resume as a Word document has been introduced with the latest version to the ResumeDocDownload component. This solves the problem of the exported Word document losing style. To ensure that the original styling is preserved during the export process, the approach entails establishing a custom CSS stylesheet specifically for the Word document.

The goal of this modification is to improve our resume-building application's export capabilities. We noticed that the user experience was being negatively impacted by the Word document export's loss of style. Our goal is to provide the exported Word document a more polished and professional representation of the resume layout and formatting by implementing a custom CSS stylesheet. The entire user experience for those utilizing our resume-building function is improved by this update.

This change's main library need is html-docx-js, which makes it easier to convert HTML information to Word document format.
Please install the above mentioned library by the following command
npm install html-docx-js

Checklist

  • [ *] My code follows the style guidelines of this project
  • [ *] I have performed a self-review of my own code
  • [ *] I have commented my code, particularly in hard-to-understand areas
  • [ *] I have made corresponding changes to the documentation
  • [ *] My changes generate no new warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant