Skip to content

Default link-title for a zettel #639

@ouuan

Description

@ouuan

Now the title of the linked zettel is used as the link text. But the title of an article is different from the link text. I usually use full titles as the title of an article, but use short titles in links. As a result, I use custom link text nearly everywhere, and when I link to the same zettel, the custom link texts are usually the same, which is a big waste of time.

It will be much better if we can set the default link-title for a zettel, so that when being linked the link-title is used as the link text.

Proposed syntax: In the frontmatter, add a linkTitle field:

---
date: 2021-07-26T19:04
linkTitle: a short title
---

# A Full Title

This could be a plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions