JeepShen / vscode-markdown-code-runner

Run code snippets in Markdown.
MIT License
18 stars 7 forks source link

Cannot run bash script in ScratchPad #1

Open fer opened 4 years ago

fer commented 4 years ago

I am running this extension on its version 2020.06.14 release 0.1.1 in Visual Code Studio Version 1.46.1 and there's no additional action to run code from the markdown file edition panel:

image

JeepShen commented 4 years ago

image Please try 'bash' instead of 'sh'

fer commented 4 years ago

Still with bash fails. I also see in your screenshot the run button doesn't appear under the markdown code block:

image

fer commented 4 years ago

Actually, it's working now :)

I was trying to use this feature on one of my GistPad Scratchpads... do you plan to support it too?

https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gistfs

I wonder how this would work with the Remote SSH extension too.

Thank you.

RikusLategan commented 1 year ago

What is the scope of the inline code? Can you use results from the code in the md file? For example, passing arguments from one code block to another.