# Easily run code in .jmd file (Weave.jl)

**URL:** <https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575>\
**Category:** General Usage\
**Tags:** weave\
**Created:** [May 21, 2021, 11:17am UTC](https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575 "2021-05-21T11:17:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antomek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/antomek/32/9406_2.png) [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Post date:** [May 21, 2021, 11:17am UTC](https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575/1 "2021-05-21T11:17:48Z")

</div>

Hello,

Is there an easy way to run the code chunks from a .jmd file in the REPL?  
I am using VS Code, and like using Weave.jl to properly document my simulations.  
However, it would be nice if running code was easier from a development perspective.

Is there a way of making this work?

---

<div class="post-metadata">

**Author:** ![pleiby](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pleiby/32/8355_2.png) [@pleiby](https://discourse.julialang.org/u/pleiby)\
**Post date:** [February 27, 2022, 4:47pm UTC](https://discourse.julialang.org/t/easily-run-code-in-jmd-file-weave-jl/61575/2 "2022-02-27T16:47:19Z")

</div>

@Antomek: I do not see any replies to you.

In VSCode: You probably know that you can (manually) highlight the code in a julia code-chunk, or any portion of it, and execute it in a Julia REPL, by pressing SHIFT-Enter (on a Mac, something similar on other machines).

Not great, but workable. Have not found a way to have VSCode recognize the code chunks in a .jmd file and step through them, like RStudio does for .Rmd files. Have you?  
Best regards
