Skip to content

Broken view syntax for browsers on Windows #3

@graphixillusion

Description

@graphixillusion

The default config.toml has this config about the viewer:

viewer = [
    "firefox",
    "%p",
]

The problem with this config is that it doesn't do the job becouse firefox, like any other browser (atleast on Windows OS) wants this syntax:

file:///%p

So if the path is C:\Temp\test.md the right argument to pass to the browser is
file:///C:\Temp\test.md or file:///C:/Temp/test.md
(works both ways)

How to achieve this?

Metadata

Metadata

Labels

bugSomething isn't workingwindowsIssues specific to the windows version

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions