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

Wikilink support #3

Open
abhinav opened this issue Feb 19, 2023 · 7 comments
Open

Wikilink support #3

abhinav opened this issue Feb 19, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@abhinav
Copy link
Owner

abhinav commented Feb 19, 2023

Support links in the format,

[[Other document]]

Where "Other document" maps to an "Other document.md" file.

@abhinav abhinav added the enhancement New feature or request label Feb 19, 2023
abhinav added a commit that referenced this issue Feb 19, 2023
Turn TODO comments into the following issues:

- #1
- #2
- #3
- #4
- #5
- #6
- #7
- #8
- #9
- #10
- #11
@gedw99
Copy link

gedw99 commented Aug 19, 2023

is this what you mean ? https://github.com/abhinav/goldmark-wikilink

@abhinav
Copy link
Owner Author

abhinav commented Aug 19, 2023

@gedw99 Yeah, I will probably use that extension.
The feature hasn't yet been added largely because the plain link version has been quite sufficient by itself.
The motivation for wikilinks support is to help combine documents from something like Obsidian.

@gedw99
Copy link

gedw99 commented Aug 19, 2023

So it can’t pull data from Wikipedia ? I presumed it did.

ah it’s this: https://m.mediawiki.org/wiki/Help:Links#Internal_links

@abhinav
Copy link
Owner Author

abhinav commented Aug 19, 2023

Yeah, it won't pull data from Wikpedia.
Wikilinks here just refers to the [[Foo]] form of referencing other files.
GitHub doesn't support them, but tools like Obsidian and Roam use them.

This issue is both to track, and to decide whether stitchmd should support something like:

- [[Foo]]
- [[Bar]]

And treat it as equivalent to:

- [Foo](Foo.md)
- [Bar](Bar.md)

@gedw99
Copy link

gedw99 commented Aug 20, 2023

I see. If it’s just syntax sugaring then why bother as it just makings confusion.

@abhinav
Copy link
Owner Author

abhinav commented Aug 20, 2023

That's part of why it hasn't been implemented yet.
Implementing it would support Obsidian and similar note taking tools,
but I'm not convinced that that's something that should be in scope for this tool.

@gedw99
Copy link

gedw99 commented Aug 20, 2023

Right :)

i spent a little bit of time playing with the code to get a feel for what it can offer.

but I got side tracked on another repo so will get time soon to come back to it.

I want to help on this project as I like what it’s goals

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

2 participants