Skip to content

Commit

Permalink
fix(print): print background graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Sep 10, 2024
1 parent 425ac81 commit f31e28f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import js from './assets/page.js?raw'
import css from './assets/page.css?inline'
import Resume from './components/resume.js'

export const pdfRenderOptions = { mediaType: 'print' }
export const pdfRenderOptions = {
mediaType: 'print',
printBackground: true,
}

/**
* @param {import('./schema.d.ts').ResumeSchema} resume
Expand Down

0 comments on commit f31e28f

Please sign in to comment.