Code Monkey home page Code Monkey logo

Comments (12)

amake avatar amake commented on May 27, 2024 1

Thanks.

I am working on implementing relative links.

I am definitely not planning on supporting any sort of DB.

from orgro.

jethrokuan avatar jethrokuan commented on May 27, 2024 1

However references to sections (by title or by ID) are not resolved yet. It seems like that is quite important for Org Roam support, right? Or will such links no longer be used in v2? What is the timeline for v2?

v2 is centered around ID links.

No idea what the timeline is for v2 either, just continually fixing bugs and bringing improvements until it feels ready for public release.

from orgro.

amake avatar amake commented on May 27, 2024

I don't think this is feasible without #5.

from orgro.

amake avatar amake commented on May 27, 2024

Can you give me an idea what the file/directory layout looks like when using org-roam? Are all the files stored in the same directory? Are the links relative links like [[./other-file.org][other file]]?

from orgro.

bbigras avatar bbigras commented on May 27, 2024

It seems some people are using subdirectories (see org-roam/org-roam#218) and the "daily" notes are inside a subdir.

link example
[[file:../20210405235900-materialize.org][materialize]]

layout example

├── 20210331165046-note1.org
├── 20210405235900-note2.org
├── daily
│  ├── 2020-11-13.org
│  ├── 2020-11-14.org

There's also an sqlite database (org-roam.db). I'm sure all the links are indexed in there.

Btw, org-roam is going thru a major redesign, see org-roam/org-roam#1401

Org-roam V2 does not recognize file links.

https://github.com/org-roam/org-roam/wiki/Hitchhiker's-Rough-Guide-to-Org-roam-V2#node-id-and-links

from orgro.

amake avatar amake commented on May 27, 2024

Relative file links to Org Mode files are now supported in v1.18.1.

However references to sections (by title or by ID) are not resolved yet. It seems like that is quite important for Org Roam support, right? Or will such links no longer be used in v2? What is the timeline for v2?

from orgro.

nightscape avatar nightscape commented on May 27, 2024

Afaiu, v2 is based solely on ID links. No idea about the timeline, but there is a first alpha available and @jethrokuan is plowing ahead at full speed 😄

from orgro.

amake avatar amake commented on May 27, 2024

v2 is centered around ID links.

No idea what the timeline is for v2 either, just continually fixing bugs and bringing improvements until it feels ready for public release.

Thanks for the information, @jethrokuan.

Is that id: links or #custom-id links?

from orgro.

jethrokuan avatar jethrokuan commented on May 27, 2024

Is that id: links or #custom-id links?

id: links.

from orgro.

amake avatar amake commented on May 27, 2024

Thanks.

I plan to support local id: links and #custom-id links (linking to sections in the same file) in the next release.

I will also support file: links with #custom-id fragments pointing to other files.

However I don't see a lightweight way to support id: links that point at other files. I'm not really keen on implementing indexing machinery or trying to read prebaked index DBs (if such a thing exists).

from orgro.

amake avatar amake commented on May 27, 2024

Improved link support as described above will be in v1.19.0, which is pending approval for testing:

from orgro.

amake avatar amake commented on May 27, 2024

v1.19.0 is out for all platforms.

from orgro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.