iamcco / iamcco/markdown-preview.nvim
[Feature Request] integrating wsl2-auto-portproxy for remote accessing to WSL2
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
Hi, there!
I'm using this plugin under the WSL2 environment and I actually trying to access the preview page from another device.
The problem is even I have set the `mkdp_open_to_the_world = 1` option, I still cannot access the preview page remotely since the containerized envrionment of WSL2, and I have to manually set port forwarding in my host machine so I could successfully connect to WSL2.
Then I found the [wsl2-auto-proxy](https://github.com/HobaiRiku/wsl2-auto-portproxy) which automatically detects the listening port in WSL and do auto forwarding. It actually saves my effort on port forward configuration but it is still bit inconvenient to launch the auto-proxy process everytime before I start markdown previewing and to shut down the process when I was done editing.
I wonder if there is any possibility that the `wsl2-auto-proxy` could be integrated into `markdown-preview.nvim` so that the auto-proxy process could be auto-launched/closed when I toggling the `:MarkdownPreviewToggle` command, since WSL has the ability to execute `.exe` file.
It would be nice if this could be realized, thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.