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
Org Roam V2 Changes #6
Comments
We should definitely have an example and I'd love to consider adding id links to the uniorg itself. I have implemented limited support of id links in my own braindump before (rasendubi/braindump@41e2428). It only links to files though. Linking to headers requires stable anchors generation (similar to rehype-slug). Having id link support in uniorg itself would require cross-file processing (currently, uniorg is a single-file parser). We could create a new uniorg package to do multi-file processing and extract common parts from examples. |
@theianjones would you like to contribute the example? |
Update: id links are now supported in uniorg
cc @jethrokuan you were interested in id links support—uniorg now has it 🎉 |
First of all, thanks for making this! I love it.
I have recently upgraded to org roam v2 (its still in alpha as I write this heres the latest upgrade guide)
A big change is that org roam is moving to ids for everything. So each file gets a top level id in the property drawer. The other big change is that all the links get turned to ids. This makes it kind of challenging to parse those links and replace them with the route that you want because previously they were just file paths.
Heres how I am collecting all the ids:
(link to code)
this adds the
id
and theroam_ref
that is often in the top level property drawer.Im also adding the id and path to a global object so that i can change the link to a path in this code:
(link to code)
Do you have any plans on updating your example or supporting org roam v2 within uniorg itself? I'd love to hear your thoughts on this!
Thanks again for your work.
The text was updated successfully, but these errors were encountered: