[Feature Request] Pdf-docx export option #7806
Replies: 14 comments
-
|
hard against. You open Pandoras Box. Then you'd also need to support OpenDocument Standards like... Not to mention, if you export from MS formats to OpenDocuments formats and back, the layout is broken. I'd rather not want to have it. |
Beta Was this translation helpful? Give feedback.
-
|
this could be a good incentive to implement a plugin system that allows, among other stuff, to import/export from/to whatever format the plugin implementer wants |
Beta Was this translation helpful? Give feedback.
-
|
I agree with @cebas, but don't forget that this is really much todo. Is this about documents only? |
Beta Was this translation helpful? Give feedback.
-
|
This is sort of feature creep - these are not simple features and are only tangentially related to the focus of Trilium - note taking. For docx there's an easy workaround - you can just open Word and paste the note's content into it and there you go - docx. |
Beta Was this translation helpful? Give feedback.
-
Not only documents. My thoughts were about a generic plugin system that allows any kind of extension that the plugin system allows. This could start with import/export and grow to every other way @zadam wants to open a door to. |
Beta Was this translation helpful? Give feedback.
-
|
I think you must explain more. This sounds to me, that you could do that by passing arguments to another executable file on windows / mac / linux. |
Beta Was this translation helpful? Give feedback.
-
|
I mean this: https://en.wikipedia.org/wiki/Plug-in_(computing) |
Beta Was this translation helpful? Give feedback.
-
|
@cebas in theory Trilium already has "plugins" - they are called "scripts". Trilium scripting API provides you access to the database and you can use that to export in whatever file format you wish. There's a catch though - I doubt people will develop docx export from scratch and will want to use existing node.js libraries. And this is a problem since the set of libraries Trilium comes with is set at build time and cannot be extended. Trilium scripts are CommonJS-like modules and in theory some libraries could be shoe horned into scripts, I'm not sure how this would work in practice ... |
Beta Was this translation helpful? Give feedback.
-
|
@zadam thanks for the explanation. I didn't notice these scripts are plugin-like. I have no experience with node, so I can't help on this, but I'm sure somebody else will. |
Beta Was this translation helpful? Give feedback.
-
|
There is always Pandoc for flexible file format conversion, based on Trilium's current HTML or Markdown export. See the demos page for example conversions, it includes docx as export option. |
Beta Was this translation helpful? Give feedback.
-
|
I just checked the demo page and it doesn't convert files for me... |
Beta Was this translation helpful? Give feedback.
-
|
Any error messages? Are you trying to execute on an HTML or Markdown export of Trilium? Willing to help out, Pandoc has usually worked well for me over the past years. |
Beta Was this translation helpful? Give feedback.
-
|
Nah, not at all. I thought I can import my files into that thing and get a PDF. I mean, you are meant to renderNote the HTML file from the demo, and that's all you can use, no? If it's different, write step-by-step please. |
Beta Was this translation helpful? Give feedback.
-
|
Implemented export as PDF in TriliumNext. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be a must have a good pdf - docx export option. At the end, the documents of most of the people are in docx and pdf.
Beta Was this translation helpful? Give feedback.
All reactions