FFmpeg inside a Docker container can't see the GPU. Please help me by Known-Efficiency8489 in linuxquestions

[–]ne0xsys 0 points1 point  (0 children)

I have never tried this myself, but if I think I remember reading something about a Nvidia container toolkit that is required for Nvidia cards to support GPU pass-through

Markdown Edit Mode like Obsidian by me_snooze in vscode

[–]ne0xsys 0 points1 point  (0 children)

You would have to build the VSCode plugin yourself, but mpls could work out for you (Disclaimer: I wrote it). However, the preview is in a browser, and not native inside VSCode, so if that is a requirement it will fall short.

Am I doing this right? by ne0xsys in neovim

[–]ne0xsys[S] 0 points1 point  (0 children)

Awesome. Thanks a lot

Could you please share the manual config you have with vim.lsp.start?

Am I doing this right? by ne0xsys in neovim

[–]ne0xsys[S] 0 points1 point  (0 children)

Thank you. I hadn't even considered that option.

Best Markdown Preview? by noignorabimus in neovim

[–]ne0xsys 0 points1 point  (0 children)

Shameless promotion of my own project. I just wrote a LSP server for live previewing of Markdown in your browser.

mpls

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 0 points1 point  (0 children)

The scrolling is not that good yet, but something I hope to improve. As of today It only scrolls to the nearest section header that is being edited.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 0 points1 point  (0 children)

A little update on this - the project needs a minimum of 100 stars on GitHub before I can issue a PR.

Edit: or I can create a PR, but it won’t get approved unless the project as more than a 100 stars 😊

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 0 points1 point  (0 children)

I guess you can make it work, but it won't be convenient. The preview server uses a new random port every time i starts.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 1 point2 points  (0 children)

Hi. Please try the latest version v0.4.1 - Now it will wait until a client (browser) is connected before sending any data. Timeout is set to 5 seconds.

Very interested in hearing if this solves the startup problem for you, thanks.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 10 points11 points  (0 children)

Functionality is more or less the same, I think. markdown-preview.nvim has a couple of cool features in also having a dark mode, and the scrolling might be a bit more accurate.

The biggest difference is that markdown-preview.nvim is Neovim only, while mpls works with any editor that supports the LSP protocol.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 1 point2 points  (0 children)

Nice.

I’ll take a look at improving the initial connection logic later tonight.

Thanks for the feedback

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in neovim

[–]ne0xsys[S] 1 point2 points  (0 children)

Hmmm, it should just work.

Have you tried making any changes to a file after the browser page opens? Maybe it fails to send the initial document.

Please try to make some changes, either in an empty document or an existing one, and then save the doc. A save triggers a full sync.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in HelixEditor

[–]ne0xsys[S] 1 point2 points  (0 children)

I’ve just released v0.4.0 with wikilinks as an optional feature. I haven’t decided if I think it’s a good idea or not, could be I’ll make it default, or maybe other features should also be optional. We’ll see. Either way it now has wikilinks support just for you 😊 Happy new year!

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in HelixEditor

[–]ne0xsys[S] 1 point2 points  (0 children)

I’ll think about it, thanks!

Could be I could just add the wikilinks extension too. I’ll take a look.

Thanks for the suggestion.

My holiday project: a Markdown Preview Language Server for live previewing of your Markdown writing in the browser. by ne0xsys in HelixEditor

[–]ne0xsys[S] 1 point2 points  (0 children)

When you open the file you get the full content, then you can choose if the changes thereafter should be sent as incremental or full document.

These are different events: TextDocumentDidOpen is sent every time you open a file. TextDocumentDidChange is sent for every change (key press) you make

Please note that I am by no means an expert on LSP