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

Link parser #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Link parser #1

wants to merge 10 commits into from

Conversation

CodingCarlos
Copy link
Contributor

Initial version of the Obsidian Link Parser.

It maps the Obsidian references to a page with the page path, and replaces it with a relative page link.

Known Issues:

  • It does not understand page references with /.
    This happens in Obsidian when there's two files with the same name in different folders (Example and Resources/Example), to specify the page you want to link ([[Example]] or [[Resources/Example]])
  • Root level for files is hard-coded.
    I have to review the project structure, and make it all dependent of settings.js file, instead of passing configs through functions. This will improve readability, and will add cohesion to the library.

I have a test deploy (https://carlos-hernandez-1.gitbook.io/untitled/empezar) with a pretty complex Obsidian Vault (https://github.com/recursosdisenoes/recursos-diseno-es/) so I can test that everything works as expeced.

In case you find something wrong there, let me know in this PR.

I will try to fix the known issues list before merging this.

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

Successfully merging this pull request may close these issues.

1 participant