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

[FR] Support reference-style markdown links #295

Open
TC72 opened this issue Jan 5, 2024 · 1 comment
Open

[FR] Support reference-style markdown links #295

TC72 opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TC72
Copy link

TC72 commented Jan 5, 2024

Long story short Ulysses on iPhone has started screwing with all the links in my Telekasten notes and converting them to reference-style links.

Telekasten doesn't support this for follow link, neither the reference or the definition of the link.
This is valid markdown so it'd be good if Telekasten could support it.
Daring Fireball Markdown Syntax Documentation

Example of what's happening:

[renerocksaitelekasten.nvim A Neovim (lua) plugin for working with a markdown zettelkasten  wiki and mixing it with a journal, based on telescope.nvim](https://github.com/renerocksai/telekasten.nvim)

Becomes:

[renerocksaitelekasten.nvim A Neovim (lua) plugin for working with a markdown zettelkasten  wiki and mixing it with a journal, based on telescope.nvim][1]

[1]:   https://github.com/renerocksai/telekasten.nvim

It would be nice if Telekasten could follow URLs even if they aren't in the correct markdown format. This would make it easier to follow the link and fetch a correctly formatted markdown version. I know gx can do this but having to decide how to follow a link can break flow.
Even better would be a tool to convert a basic URL to markdown, it's need some code to fetch the basic HTML of a page and rip the <title> out of it.

@TC72 TC72 added the enhancement New feature or request label Jan 5, 2024
@lambtho12
Copy link
Member

lambtho12 commented Jan 5, 2024

Isn't it a duplicate of #126, and also partially discussed in #294 ?

I read it a bit too fast. Indeed, the reference-style is not supported. I think this should be left for when basic markdown links are supported to prevent clashing features and an overly complex implementation.

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

No branches or pull requests

3 participants