Export as PDF is an extension designed for Brackets.io that allows the user to export both all or part of the code in the current document to a PDF file which can be then opened by a number of applications such as Adobe Reader.
Compatible with Brackets 0.43 and newer.
- Open Brackets
- Open the Brackets Extension Manager by opening the 'File' menu and then clicking on the 'Extension Manager...' item.
- In the Search box on the top right of the dialog, type: 'export'.
- Find ExportPDF from the list and then click Install.
- Go to the Releases section of our Github repo in your favourite web browser
- Choose which release you want to install
- Download the clicking the brackets-pdfexport.zip link below the Downloads header.
- When the download finishes, open Brackets
- Go to Help > Show Extensions Folder
- In the File Manager window that opens, go to the "user" folder
- Move the extension zip file from your Downloads folder to the "user" folder
- Go to our Github repo in your favourite web browser
- On the right sidebar, click on Download ZIP
- When the download finishes, open Brackets
- Go to Help > Show Extensions Folder
- In the File Manager window that opens, go to the "user" folder
- Move the extension zip file from your Downloads folder to the "user" folder
Please note that after each of these methods, Brackets needs to be restarted to make sure that the extension has been installed correctly.
- Export all code in current document to PDF
- Export selected code to PDF
- Set document margins before export
- Change document font size
- Open default PDF reading application after export
- Open file you want to export (for whole file export) or select the part you want to export.
- Go to File > Export as PDF...
- Review Properties in the dialog that opens up
- Press OK
Everyone's welcome to contribute to the development of this extension. There are a number of ways how you can help. If you found a bug, please report it on Github. You can also help us by contributing code for a new feature you'd like to implement or to fix an already-reported issue.
This extension would not be here if it wasn't for the help of Steffen Bruchmann (sbruchmann). This extension makes use of PDFKit and blob-stream, two libraries by Devon Govett and other contributors.
- Avoid issues with NodeDomain not loading correctly and stopping extension's functionality
- Fixed an issue with the bottom document margin
- Added German translation (by @douira)
- Fixed two small mistakes in Italian translation
- Fixed an issue when exporting a selected portion only
- Updated Italian translation (by @Denisov21 - Grazie!)
- Error prompts could have been triggered by other extensions
- Initial release
This extension is licensed under the MIT License. You should receive a copy of this license with the extension. If you do not receive it, please read it online on Github.