MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
948 stars 80 forks source link

Use path to check for relative includes. #250

Open matthewturk opened 11 months ago

matthewturk commented 11 months ago

As noted in #239, when doing an embedded note that includes a path (relative or absolute), it is not included and instead shows up as literal text.

This changes the method by which files are filtered to instead filter on whether the path includes the filename or not; this may increase somewhat the number of returned results, but it does now allow things like

![[lecture-00/welcome-to-class]]

to correctly be included in the results.