Skip to content

Allow %file()% command to use ../ to access parent folders of a file #237

Description

@RealRaven2000

The %file()% command currently supports accessing files from a location relative to where the included HTML file / picture is stored.

The same should apply to the %style()% command.

Sometimes we need to include file content of a file that is in a sibling or parent folder, so for this we will need to be able to use the sequence ../ to change to the parent directory and access its contents (or subfolders therein). This currently doesn';t work.

Examples:

%file(../../history/qf-5.16-de.html)%
%file(../faq.html)%
%style(../styles/quickfolders-reminder.css)%

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions