Thanks. I'm beginning to come to the conclusion that Joplin is for techies, not for non-technical migrants from Evernote. I have seen nowhere within the programme indicating where I might find plugins or how to install them. Equally I have no idea what Electron is, I thought it was a form of Visa credit card!
Thank you for the explanation. I am running 1.3x. I have seen references on here to plugins but never a mention of specific offerings. I suppose they will be along now that they can be added. I hope there will be a tutorial to tell us how to do that.
This is still a very initial plug-in system, and there are still many things that are not perfect, including ordinary plug-in installation and uninstallation, which are troublesome. . . @rafikiphoto
In addition, Iām not sure if the joplin plugin allows you to get the currently edited note while running a custom rendering function. What will happen in a visible-is-what-you-get editor? If there is no problem, I can try to use pdf.js to implement joplin pdf preview support. @laurent
In addition, there is a very annoying problem that the console will always disappear every time you use Ctrl+R to refresh, which is very unfavorable for developing Joplin plugins. I will continue to wait for news, and I may not migrate my notes until Joplin 1.3 is stable.
Besides, there is no other meaning, I want to know if I encounter development-related problems, besides @laurent, who else should I ask?
I try to use MarkdownItPlugin to deal with this problem, but I am not sure how to communicate with the main process, for example, I need to get the binary stream of the PDF, but the premise is that the script in the assets can communicate with the main process and delegate the main process in some way Get the binary stream and return it to the markdown rendering script. I saw the following description
The context argument is currently unused but could be used later on to provide access to your own plugin so that the content script and plugin can communicate.
What is the type of context? Are there any examples available?
Not sure, I'd need to see the code, but couldn't you package the renderer code as a markdown-it plugin? At the moment, the context param is not implemented, but why does it need to communicate with the plugin process?