Skip to content

WikiJournalIndex: Allow relative link paths #265

@lervag

Description

@lervag

From comment by @artkpv in #260:

Here the expected output is similar, except we want something like this at the end:

[2023-01-01](/diary/2023-01-01)
[2023-01-01](/diary/2023-01-01_book-review)
[2023-01-02](/diary/2023-01-02)

Can we have relative links everywhere option? I mean here it would try to generate relative to current file links. Why: We decouple this file from wiki.vim as only wiki.vim knows where the root dir '/' is. Examples: 1) I use Markor (markdown editor) on my Android device which supports markdown rendering but it doesn't know anything about root directories of the wiki. 2) To render markdown on my Linux I use Firefox plugin 'Markdown Viewer' which also doesn't know about root dirs.

This should be configurable with something like let g:wiki_index_relative_paths and possibly also as an argument to the command itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions