As part of my Figma plugin, I want to export selected frames to single PDF. I found this global option to “export frames to PDF” which can do the job. Other options don’t work well as expected. How can I do this from within the plugin code?
I tried using ‘pdf-lib’ node module. But Figma doesn’t allow me to use any libraries.
Is there a Figma API that can export all selected frames into single PDF without the use of external libraries?
A help here would be greatly appreciated. Thanks in advance.