# Converting .jl file to any kind of markdown

**URL:** <https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910>\
**Category:** New to Julia\
**Created:** [April 2, 2020, 4:02pm UTC](https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910 "2020-04-02T16:02:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erlebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/erlebach/32/12973_2.png) [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Post date:** [April 2, 2020, 4:02pm UTC](https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910/1 "2020-04-02T16:02:08Z")

</div>

How do I convert a jl file (julia source file) to markdown from within Atom, or from the command line? Once I do that, I can use Pandoc to print the file. It is more complex than using triple quotes around the program. When I tried this and ran panddoc, I did not get my unicode characters, although it did work on a very simple example. Any insights?

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [April 2, 2020, 4:07pm UTC](https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910/2 "2020-04-02T16:07:19Z")

</div>

Maybe look here?

> **[GitHub - fredrikekre/Literate.jl: Simple package for literate programming in...](https://github.com/fredrikekre/Literate.jl)**
>
> Simple package for literate programming in Julia. Contribute to fredrikekre/Literate.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Post date:** [April 2, 2020, 4:49pm UTC](https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910/3 "2020-04-02T16:49:22Z")

</div>

I’m a fan of [Weave.jl](https://github.com/JunoLab/Weave.jl), which integrates nicely with Atom via the `language-weave` atom package. There’s good support within Juno so you can interleave code blocks and prose, and still evaluate the code with `ctrl-enter` as with regular julia code. Just make a file with the `.jmd` extension and start writing markdown.

---

<div class="post-metadata">

**Author:** ![bhavinmoriya](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@bhavinmoriya](https://discourse.julialang.org/u/bhavinmoriya)\
**Post date:** [November 2, 2020, 9:30pm UTC](https://discourse.julialang.org/t/converting-jl-file-to-any-kind-of-markdown/36910/4 "2020-11-02T21:30:30Z")

</div>

Hi!  
I have been using Juno, which I had to stop because of functioning issues. So now I am working on TUI. In terminal, how could I convert .jl to .ipynb and html. I did see Literate.jl, but did not exactly understand how could I solve my problem. If you could help me with this, I would appreciate it.  
cheers
