org-roam / org-roam-server

A Web Application to Visualize the Org-Roam Database
MIT License
639 stars 51 forks source link

Suggestion: When exporting html pages, use org-roam-publish function to include backlink notes #66

Closed Zyrohex closed 4 years ago

Zyrohex commented 4 years ago

Hey there - love the package! I was thinking it would be nice if your package included this function linked below to export backlink contents into the published html files. -> https://github.com/org-roam/org-roam/blob/06afa2772562b87c54f6f731a9e6cd42804c5970/doc/org_export.md#backlinks-and-contents

goktug97 commented 4 years ago

Can you show a screenshot of it

Zyrohex commented 4 years ago

I can upload a sample HTML file if it would help, let me know.

yYDZCbXPMf

goktug97 commented 4 years ago

Hmm. Doesn’t the backlink viewer enough in the file viewer tab?

Zyrohex commented 4 years ago

I'll have to get back to you on that. I haven't upgraded my packages for the past week or so and wanted to re-test with the latest changes, but the update broke org-roam-server and i'm getting "wrong type argument: listp, sp-text-mode-emoticon-p". Let me get around this issue and i'll keep you posted.

Zyrohex commented 4 years ago

Ok - fixed the odd argument error.

For some reason backlinks have never worked in org-roam-server for me like they do in your preview, so I wasn't even aware this feature existed! We can close this out and i'll see if I can figure this out.

flowersw commented 4 years ago

I'm seeing wrong type argument: listp, sp-text-mode-emoticon-p as well. Just curious - what did the fix end up being for you @nmartin84 ? I'm new-ish to emacs

Zyrohex commented 4 years ago

@flowersw - I believe it's the way its handling links from the directory its called from. If I call org-roam-server from the root of my org-directory it'll run fine, but if I call it from a nested folder, it hoses something up and I get wrong type argument: listp, sp-text-mode-emoticon-p and I have to reload emacs to get it working again. Haven't had much time to mess with it.

flowersw commented 4 years ago

gotcha @nmartin84 - thx for the quick reply

I think for me, maybe it was a combination of an error with pandoc / reveal.js and I also had the lines

(require 'simple-httpd)
(httpd-start)

in my config, and after removing those, that seemed to help. I'm not sure exactly though. This package / eco-system is amazing, and inspiring