Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Absolute path #39

@ButterSus

Description

@ButterSus

This preprocessor is great, but using a relative path every time you insert a component is very inconvenient.

It would be better to use absolute path from source directory like this:

{{ #template /absolute-path/to-directory/for-some-file.md  }}

If it's hard to implement absolute path, we can just pass directory in book.toml like this:

[preprocessor.template]
absolute-directory = "~/path-to-directory/..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions