Skip to content

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.

RedKold added a commit to RedKold/obsidian-gitbook that referenced this pull request May 28, 2025
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.

2 participants