Execute code in logseq

As a student
I would like to
Execute the programming code directly from logseq

execute_code_example

Reference: GitHub - twibiral/obsidian-execute-code: Obsidian Plugin to execute code in a note.

Please let’s gather ideas and thoughts about this here:

some implantation is available in JavaScript here
GitHub - twibiral/obsidian-execute-code: Obsidian Plugin to execute code in a note.

Hello @Dinesh_Datir. It seems that what you posted is an Obsidian plugin. Just out of curiosity, does the code running with that plugin have access to any data in the page or vault, or is it completely isolated?

hi @danilofaria . Not sure about it , But what I can tell is, it is using code block content and running with compiler , for c++ it uses cling compiler.

Also there is similar extension for VS code .

GitHub - JeepShen/vscode-markdown-code-runner: Run code snippets in Markdown.