Closed
Description
Would it make sense to add an attribute relative-to-current-dir=true
or something such that, all paths or better all relative paths are resolved to the current file path we are currently at (maybe not so easy to distinguish platform independent, relative vs absolute paths).
Therefore maybe, just replace a variable "${current-dir}/b/c.md" in all paths, which would give a deterministic and consistent way of relative imports :)?
@tarleb: What do you think?
In a/b.md
``` { .include} ${current-dir}/b/c.md ```
or
In a/b.md
``` { .include relative-to-current-dir=true} ./b/c.md ```