{"id":16582647,"url":"https://github.com/mcshelby/reveal-pdfexport","last_synced_at":"2026-03-07T04:32:34.635Z","repository":{"id":113022488,"uuid":"136531133","full_name":"McShelby/reveal-pdfexport","owner":"McShelby","description":"A reveal.js 3.x / 4.x plugin to easly switch to the built-in PDF export mode and back by pressing a shortcut key.","archived":false,"fork":false,"pushed_at":"2023-02-07T09:59:27.000Z","size":11,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-05T14:57:27.186Z","etag":null,"topics":["pdf","pdf-export","pdfexport","plugin","reveal-js","revealjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/McShelby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-07T21:07:29.000Z","updated_at":"2024-03-13T09:20:59.000Z","dependencies_parsed_at":"2023-06-05T20:15:28.608Z","dependency_job_id":null,"html_url":"https://github.com/McShelby/reveal-pdfexport","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/McShelby/reveal-pdfexport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McShelby%2Freveal-pdfexport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McShelby%2Freveal-pdfexport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McShelby%2Freveal-pdfexport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McShelby%2Freveal-pdfexport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/McShelby","download_url":"https://codeload.github.com/McShelby/reveal-pdfexport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/McShelby%2Freveal-pdfexport/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pdf","pdf-export","pdfexport","plugin","reveal-js","revealjs"],"created_at":"2024-10-11T22:33:39.024Z","updated_at":"2026-03-07T04:32:34.596Z","avatar_url":"https://github.com/McShelby.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PdfExport\n\nA [reveal.js](https://github.com/hakimel/reveal.js/) 3.x / 4.x plugin to easly switch to the built-in PDF export mode and back by pressing a shortcut key.\n\n## Installation\n\nCopy this repository into the plugin folder of your reveal.js presentation, ie ```plugin/pdfexport```.\n\nAdd the plugin to the initialization of your presentation, as below.\n\n### reveal 4.x\n\n```javascript\n\u003cscript src=\"plugin/pdfexport/pdfexport.js\"\u003e\u003c/script\u003e\n// .. \nReveal.initialize({\n\t// ...\n\tplugins: [\n\t\t// ..\n\t\tPdfExport,\n\t]\n});\n```\n\n### reveal 3.x\n\n```javascript\nReveal.initialize({\n\t// ...\n\tdependencies: [\n\t\t// ...\n\t\t{ src: 'plugin/pdfexport/pdfexport.js', async: true },\n\t]\n});\n```\n\nFor **reveal 3.x only** you need to remove all of the following or similar lines from your presentation. Paper- or PDF-stylesheets will be set by the plugin.\n\n```html\n\u003c!-- Printing and PDF exports --\u003e\n\u003cscript\u003e\n\tvar link = document.createElement( 'link' );\n\tlink.rel = 'stylesheet';\n\tlink.type = 'text/css';\n\tlink.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';\n\tdocument.getElementsByTagName( 'head' )[0].appendChild( link );\n\u003c/script\u003e\n```\n\n## Usage\n\nTo toggle between screen and PDF mode you can press the ```E``` shortcut on the keyboard.\n\n### Configuration\n\nYou can configure some aspects of the plugin by adding the following options to your reveal configuration. Note that all configuration values are optional and will default to the values specified below.\n\n```javascript\nReveal.initialize({\n\t// ...\n\n\t// Shortcut for toggling between screen and PDF mode\n\tpdfExportShortcut: 'E',\n});\n```\n\n## License\n\n[MIT licensed](https://en.wikipedia.org/wiki/MIT_License).\n\nCopyright (C) 2020 [Sören Weber](https://soeren-weber.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcshelby%2Freveal-pdfexport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcshelby%2Freveal-pdfexport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcshelby%2Freveal-pdfexport/lists"}