Skip to content
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

In-title Zettel IDs not converted to their titles. #523

Closed
0ihsan opened this issue Jan 11, 2021 · 4 comments
Closed

In-title Zettel IDs not converted to their titles. #523

0ihsan opened this issue Jan 11, 2021 · 4 comments

Comments

@0ihsan
Copy link

0ihsan commented Jan 11, 2021

neuron version: 1.0.0.0

Should I not link a zettel in a title or is this a bug?

Steps to Reproduce

  1. Create a zettel let's name "Banana" (and the file name is: "1234abc.md")
  2. Create another zettel named "Eating [[1234abc]]"
  3. Run neuron rib -S
  4. Open your web browser and go the "Eating Banana" zettel
  5. Look at the zettel roots or backlinks and see z:/1234abc?cf instead of its title

Example

Screenshot 2021-01-11 at 22 28 17

Screenshot 2021-01-11 at 22 06 33

It looks right on the zettel that titled with zettel ID though:
Screenshot 2021-01-11 at 22 40 59

@srid
Copy link
Owner

srid commented Jan 11, 2021

Create another zettel named "Eating [[1234abc]]"

Filename and contents of this zettel?

@0ihsan
Copy link
Author

0ihsan commented Jan 12, 2021

1234abc.md

---
date: 2020-01-12
---

# Banana

A fruit

See also: [[[5678def]]]

5678def.md

---
date: 2020-01-12
---

# Eating [[1234abc]]

@srid
Copy link
Owner

srid commented Jan 12, 2021

Right. Zettel title, along with other metadata, are "computed" ahead of the graph generation, so query links are not resolved. This is why you see them zettel title only. Basically this is unsupported.

I would suggest not using wiki-links in title; use plain text, and put the wiki-link in the body (usually the first sentence/paragraph)

@0ihsan 0ihsan closed this as completed Jan 12, 2021
@srid
Copy link
Owner

srid commented Jan 12, 2021

Opened #525 so to make the uptree render as [[foo]] instead of z:/foo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants