# Get SHIFT + ENTER run line on md files in VSCode

**URL:** https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328
**Category:** VS Code
**Created:** [February 9, 2023, 9:17am UTC](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328 "2023-02-09T09:17:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [February 9, 2023, 9:17am UTC](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328/1 "2023-02-09T09:17:49Z")

</div>

I am in a project where text (markdown) matters more than code and I would like to work directly on the markdown file, so I can have its preview on the side.  
But I would also like to run Julia code that I put in blocks, line by line as I would do on a standard Julia file.  
I just discovered that CTRL+ENTER works, but the prompt remains on the same line.  
How can I get also SHIFT+ENTER (that goes automatically to the next line) working ?

---

<div class="post-metadata">

### Author: ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)
#### Post date: [February 9, 2023, 9:49am UTC](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328/2 "2023-02-09T09:49:32Z")

</div>

VSCode recognizes blocks of code:

```julia
## Section 1

println("Hello")

## Section 2

println("John")

##

println("Nice to meet you!")

```

You can press Alt+Shift+Enter if I am not mistaken to execute a section and move to the next.

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [February 9, 2023, 10:08am UTC](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328/3 "2023-02-09T10:08:44Z")

</div>

Yes, it works (block per block), thanks.  
A pity the shortland for “run the line and move to the next one” is not active…
