Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am following a general Emacs Lisp convention of naming internal-use functions and variables with `--` in the names. Unfortunately, that advice won't do anything with the latest ox-hugo as I replaced that particular internal function with something else in past few months as I was improving the anchoring scheme to support an Org Roam user with linking headings based on UUID.
At that point I had added this documentation on Anchors[2] in ox-hugo manual. If you set `org-hugo-anchor-functions` to nil, or add a dummy function to it that just returns "", it would do the same thing as you are doing in your advice right now (not tested).
*Note that will basically break the ability to refer to other sub headings by UUID, CUSTOM_ID or any other mechanism.*
[1]: https://github.com/alexkehayias/emacs.d/blob/3b546048cc60976...
[2]: https://ox-hugo.scripter.co/doc/anchors/
---
I'd welcome contributions to ox-hugo code, documentation so that it can help other Org Roam users too. Even if it doesn't make it into the repo, having a discussion related to ox-hugo + Org Roam issues/tips+tricks in the ox-hugo Discussions forum will be useful to others.
Thanks!
Let's not also forget the wonderful org-roam-ui which provides a React-based interactive graph of all your nodes for browsing and editing in the browser. The maintainer has just pushed a branch which can be deployed to a public server too..
https://github.com/org-roam/org-roam-ui
I was also a bit worried about filenames, the database, custom ids and all that. Felt over-engineered for my modest purposes. The logical conclusion was that I had to implement my own zettelkasten system:
https://github.com/tmalsburg/mwk.el
> a lot of hacks to get exporting to ox-hugo to work
Hello! Please feel free to start a discussion on https://github.com/kaushalmodi/ox-hugo/discussions listing the things you need to tweak in ox-hugo to make it work with Org Roam.
In the past 3 months or so, I have been adding test Org files received from Org Roam users and they seem to be exporting alright.
Tests: https://github.com/kaushalmodi/ox-hugo/tree/main/test/site/c...
I'd welcome more tests there :)
> and improve performance [your config link]
From your config, I see this[1] overriding `org-hugo-link--headline-anchor-maybe`.
You can customize the bindings in logseq. I've customized mine[1] to bring them as close as possible to default Emacs and Org mode bindings.
[1]: https://github.com/kaushalmodi/dotfiles/blob/master/logseq/l...