Yukai Huang

Results 191 issues of Yukai Huang

It takes about 5 seconds to print a pdf now... quite slow. ### TODO - [ ] Better download experience - [ ] Is this safe? - [ ] `NPM_CONFIG_PRODUCTION`...

enhancement

![Screen Shot 2019-09-08 at 9 29 35 PM](https://user-images.githubusercontent.com/4230968/64488903-dbb0fe00-d27f-11e9-8787-3b6794dd43ac.png) 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 ![eth-auth-support](https://user-images.githubusercontent.com/4230968/60311656-cc155f00-998a-11e9-957d-18885eb199a8.gif)

auth provider

[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}); }); ```

enhancement