notion-enhancer / notion-enhancer

An enhancer/customiser for the all-in-one productivity workspace Notion
https://notion-enhancer.github.io/
MIT License
4.81k stars 243 forks source link

PDF Export Enhancer #865

Open bokonist opened 3 years ago

bokonist commented 3 years ago

problem

As the custom themes make the UI quite different from normal Notion users, there's no (easy) option to show your notion page to someone as you view it. Also, another feature missing from Notion is the inability to export to dark mode PDF.

solution

how will this feature appear/act?

Exporting to PDF will export the page as we see it (with the custom theme applied), to a PDF file.

how could this be technically implemented using the available capabilities of the enhancer and notion? Not sure, but I currently do it with Stylus (chrome extension), to style the website with the same css files as the theme i'm using, then rightclick+print, save as PDF without the headers+footers. It's as close as I can do this currently, as you can imagine, it won't be a 100% matching export as you can't style fonts with Stylus.

cons

Can't think of one, this is just to extract the data to an external file.

alternatives

would a different feature remove the need for this? No.

does this need to be implemented by the enhancer? could an external service work better? It's quite dependent on the notion enhancer theme, so I think it has to be an enhancer feature.

dmercado2001 commented 3 years ago

with this I would add also being able to keep the custom fonts we put in too! I use a custom font with the enhancer but if I export my page as a PDF, then the font goes away to the original

orimandel commented 3 years ago

This is a much-needed feature for me as I am using the right-to-left enhancement to write in Hebrew and when I export to pdf it all becomes left to right. +1

yassirlaaouissi commented 3 years ago

Is this exporting of PDF in for example dark mode still happening? My eyes need it, light theme hurting me.

publiclove commented 3 years ago

Please can you make a video explain the steps, please i need it a lot and i tried everything even i'm not a programmer but i tried to use all available tools to use the current custom theme and export PDF with the theme.

Edit:I get it thank you a lot. The tricky part is that if you use a dark theme remember to enable the dark theme on notion web, also some themes have CSS files one has the name variables and the other one App. open both of them and copy variables CSS code and add it to stylus extension, then add another style with the code of App CSS file. it will work very well

ajinkyatalekar commented 2 years ago

What happened to this? Is exporting a pdf in dark mode possible now?

dragonwocky commented 2 years ago

Not yet. The closest you can get at the moment is to collapse the sidebar and then use ctrl+p to print to PDF.