-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to export to: Plain text, PDF, ODT, HTML, DOCX, … #102
Comments
Export to pdf would be great. Sometimes people need to print their notes. |
I guess "PDF export" could be achieved with just a thoughtful css targeting print media. Then the user could just "print to PDF". Currenlty that's not feasible option since printing the document isn't well optimized for print media and seems to cut content that doesn't fit to first printed page. |
Hi, just wanted to add that I encountered this issue today when attempting to print my markdown document. I could not a find working md-to-pdf or print from md feature within nextCloud that actually worked and I was not able to get the pdf flow working either. just wanted to thank you in advance for making this possible and keeping the beautiful css of nextCloud while printing. Thanks! |
Another use-case I have: The tool I wrote to help recording my radio show currently uses the HTML export from Etherpad, and it works fine except I later have to redo all the formatting in WordPress when publishing the transcript along with the podcast because the export is not clean enough. Since we already have a NC instance installed where I already back-up the Etherpad md+html exports, I'd like to rationalize the tools and move to NC for editing the markdown directly as well. Seems I'll have to live with one more year of Etherpad… |
No sure if it fits your use case @mmuman but there is a "Import Markdown" plugin for wordpress, using this you can import your markdown directly (or even use the public share link of the file to "embed" it). |
It would fix half of the problem, I guess I should add a markdown import to RadioTimer… |
As NextCloud office (cool) support pdf export, style fine-tuning for print, I would suggest to send the .MD file to the office suite where you can prepare the file for print and the user get the best results and we can use the core stuff from NextCloud. The main technical part would be the selection of a template where the .MD file get import. I don't know if libre office can import .MD files, but it can be a useful addition for LibO. I can help and have a look how good the .MD import is at LibO |
At least for my HTML export needs it must be rightly available as an URL, and so not going through a GUI for templating. |
So this is more important now as there might be embedded images in the MD that need to be printed as well. So there should be an export button in the toolbar that allows you to print. Alternatively, the easier and simpler solution is to get the browser print dialog to be functional (as documents above 1-page look absolutely broken). |
This comment was marked as off-topic.
This comment was marked as off-topic.
@juliushaertl is it possible to prevent this and make sure that copying actually copies things, at least useful (and non-weird-looking) things like bullets (in form of "- ")? |
You can already copy the plain markdown using Ctrl+Shift+C since #3941 |
I had another look and I found some simple enough js code to convert markdown from html that would fit my case, and the copy-paste from Text to the WordPress editor is much cleaner than that of Etherpad… The only problem now is the CORS policy preventing me to just download the file from the code. Guess I should open a ticket for that, no reason it should apply to download links. Still would be nice to get proper HTML export someday. |
@blizzz Will unassign you from that one now as we haven't scheduled. Just in case you any notes worth sharing from your previous investigations, maybe you can dump them here for later reference. |
That was the last state of my research notes (folded, because longcat)Text exportGoals
Characteristics
Thoughts
Development Phases
Questions
Side questions
Leads
|
Use-case: You write a collaborative document like the Nextcloud polishing issue. Then when you want to copy it into a Nextcloud issue, you notice that the Markdown characters like bullets, heading #, will all be stripped.
Since copying will copy the rich text, we can’t do "plain text copying" there.
We could have an "Export" entry in the toolbar where you can export it as "Plain text" or in the future even as HTML, or PDF if needed.
The text was updated successfully, but these errors were encountered: