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
Exporting in markdown as an option #14
Comments
|
Thanks for the suggestion. I think you're describing a different (albeit useful) tool, however, which would require quite a lot of refactoring. There are probably other tools better equipped to do this -- various Zotero export translators exist to output various formats so they would be a good place to start. That said, if there was demand in the future this might serve as a basis for a separate markdown exporter. There's also the possibility to convert from JSON to markdown -- something like this might do the trick https://github.com/IonicaBizau/json2md (untested) |
|
I've used Zotfile for a while to extract annotations, but I haven't seen yet any other export plugins that combine both the metadata and my highlights and comments. But I understand that this might be not straightforward over here. Thanks for the suggestion! I'll give the repo above a try! |
|
It's certainly a cool and useful idea, if I get some time I'll see how much work would be required to convert the output. I'd need to think about whether it merits a separate project though, given that it would no longer be Roam-specific, plus I'm sure it would be more complex than it might appear at first (these things always are). |
|
Do you have any pointers on how to build the |
Just download the whole |
|
I made this simple attempt to have Zotero write some info in MD as a QuickCopy option. Open to any suggestions and advice. |
|
It took me a little while, but I ended up writing a plugin as well: https://github.com/argenos/zotero-mdnotes @linxule I also went through the translator -> plugin path as mentioned in #17 since I couldn't access a few things (collections and related items I believe). I like the quick copy translator though! Any way that we can use preferences to avoid roam-specific formatting? |
|
@melat0nin thanks for the pointers, they helped a lot! I used your plugin as a starting point, so I added a little acknowledgement at the bottom of my README. I hope that's alright! |
|
@argenos that's extremely cool, nice work! It's great you've worked out the preferences interface, that was my next challenge... I'll be borrowing some of your code back |
|
It's the least I can do! |
Your plug-in looks amazing and I'm excited to try it soon! Using preferences to choose alternative formats makes sense and I am willing to give it a try. Would you be able to point me to some tools/softwares that might help facilitate this? Many thanks in advance! |
|
@linxule I don't know if there's a better way to do it, but I tried to do that here: https://github.com/argenos/zotero-mdnotes/blob/master/content/mdnotes.js#L240 |
Would it be possible to add support for markdown? Although that might not be relevant for Roam, this tool is great and its functionality is a lot more universal! Exports to markdown would help share annotations to non-roam users (via email!) and e.g. for people using Obsidian. This might be out of scope, but I thought I'd ask!
The text was updated successfully, but these errors were encountered: