Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate code from markdown fenced blocks #592

Open
adigitoleo opened this issue Aug 10, 2024 · 3 comments
Open

Evaluate code from markdown fenced blocks #592

adigitoleo opened this issue Aug 10, 2024 · 3 comments

Comments

@adigitoleo
Copy link

adigitoleo commented Aug 10, 2024

Hello,

I'm just discovering this plugin. It looks very nice, but I would really love to have the ability to run e.g. :ConjureEval in a fenced markdown code block and have it 1) detect the language and 2) run the code snippet in the appropriate REPL. I saw #57 but that didn't seem to be discussing (1), and is also closed and a few years old. I wonder if this is something that is on the radar or if I should just try mdeval for that.

Cheers

@thecontinium
Copy link

This works well https://github.com/AckslD/nvim-FeMaco.lua

@adigitoleo
Copy link
Author

This works well https://github.com/AckslD/nvim-FeMaco.lua

Had a quick look but from what I understand that one is about editing the fenced blocks (with proper LSP diagnostics completion, still very useful thanks) but I'm asking here about evaluating the code blocks (and getting the output). So far mdeval is doing what I want but I just wondered if this plugin would consider adding that functionality (it also seems focused on code evaluation/live exploration)

@thecontinium
Copy link

Ah. I misunderstood.

Conjure starts up default repl for the languages it supports.

Femaco does have a post open function so you could conjure evaluate buffer there ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants