Yukai Huang
Yukai Huang
It takes about 5 seconds to print a pdf now... quite slow. ### TODO - [ ] Better download experience - [ ] Is this safe? - [ ] `NPM_CONFIG_PRODUCTION`...
 Changing color, background, font (to `Avenir Next`), line height. Limit the max width of editor, and make it center aligned. Hide the...
- https://github.com/pelith/express-eauth - https://github.com/pelith/node-eauth-server 
fixes #1593
[PDFObject](https://github.com/pipwerks/PDFObject) is not working on electron. There's a electron pdf.js example: https://github.com/seanchas116/electron-pdfjs We can try to integrate pdf.js using electron webview api. Or more aggressively, replace pdfobject package in hackmd.
https://github.com/electron/update-electron-app
from https://github.com/electron/electron/pull/573#issuecomment-263186361 ```js mainWindow.webContents.session.webRequest.onHeadersReceived({}, (d, c) => { if(d.responseHeaders['x-frame-options'] || d.responseHeaders['X-Frame-Options']){ delete d.responseHeaders['x-frame-options']; delete d.responseHeaders['X-Frame-Options']; } c({cancel: false, responseHeaders: d.responseHeaders}); }); ```