foliant-docs / foliant

Comprehensive markdown-based documentation toolkit
https://foliant-docs.github.io/docs/
MIT License
160 stars 9 forks source link

Using a tilde symbol (~) in path #45

Closed bezgerts closed 3 years ago

bezgerts commented 6 years ago

It will be great to use tilda symbols (~) for specifying relative file paths to src folder.

For example in the structure, which is represented below, to specify a path to image.jpg from file1.md, we need to use ~/img/image.jpg instead ../../img/image.jpg.

src
  | img
  |- image.jpg
  | md
  |- bootstrap.md
  |   | files
  |   | - file1.md
  |   | - file2.md
  |   | - file2.md