# \#literate-programming

**URL:** https://discourse.julialang.org/tag/literate-programming/416.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [ProjecturEd: one data structure, many editable views, with an AI assistant](https://discourse.julialang.org/t/projectured-one-data-structure-many-editable-views-with-an-ai-assistant/139707)

<div class="topic-metadata">

**Author:** [@melevy](https://discourse.julialang.org/u/melevy)\
**Replies:** 0\
**Last updated:** [September 27, 2026, 6:18pm UTC](https://discourse.julialang.org/t/projectured-one-data-structure-many-editable-views-with-an-ai-assistant/139707 "2026-09-27T18:18:16Z")

</div>

I’d like to show you ProjecturEd, a projectional editor I’ve been working on. It’s an application to view and edit structured data. You can define your own data structures and your own views for them. They work together…

---

## [Literate.jl to PDF using Documenter.jl simple question](https://discourse.julialang.org/t/literate-jl-to-pdf-using-documenter-jl-simple-question/129109)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 15\
**Last updated:** [May 22, 2025, 9:44pm UTC](https://discourse.julialang.org/t/literate-jl-to-pdf-using-documenter-jl-simple-question/129109 "2025-05-22T21:44:04Z")

</div>

simple question: how do I take the markdown output of Literate.jl and feed it to Documenter.jl to create a PDF (with Latex working)? The documentation of Literate.jl makes sense, but Documenter.jl is very complicated. …

---

## [Getting Franklin.jl to display plots with Literate.jl](https://discourse.julialang.org/t/getting-franklin-jl-to-display-plots-with-literate-jl/62025)

<div class="topic-metadata">

**Author:** [@mattgiamou](https://discourse.julialang.org/u/mattgiamou)\
**Replies:** 4\
**Last updated:** [March 10, 2025, 5:06pm UTC](https://discourse.julialang.org/t/getting-franklin-jl-to-display-plots-with-literate-jl/62025 "2025-03-10T17:06:55Z")

</div>

I’m following these instructions on getting Franklin.jl to deploy Julia notebooks with Literate.jl with GitHub pages. I’m using the following minimal example from the Literate.jl documentation: # Testing plot display: x…

---

## [Any package to make quizzes for students?](https://discourse.julialang.org/t/any-package-to-make-quizzes-for-students/75075)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 9\
**Last updated:** [September 17, 2024, 7:44am UTC](https://discourse.julialang.org/t/any-package-to-make-quizzes-for-students/75075 "2024-09-17T07:44:00Z")

</div>

Which are the options to make simple multiple-choices quizzes in Julia? In particular the focus is not on evaluating the students but just in providing interaction, so it doesn’t matter if the answer can be easily retri…

---

## [Literate scripts within Documenter cause LiveServer loop](https://discourse.julialang.org/t/literate-scripts-within-documenter-cause-liveserver-loop/63319)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 11:18pm UTC](https://discourse.julialang.org/t/literate-scripts-within-documenter-cause-liveserver-loop/63319 "2024-09-02T23:18:34Z")

</div>

I’m trying to use Literate.markdown to generate pages for Documenter. The repo is here. I’m using the make.jl code below. using Documenter using Literate for file ∈ \["Chapter 1: Dynamics.jl"\] Literate.markdown( …

---

## [Is there a built-in command to weave and tangle current file in Julia in VS Code?](https://discourse.julialang.org/t/is-there-a-built-in-command-to-weave-and-tangle-current-file-in-julia-in-vs-code/105564)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 3\
**Last updated:** [October 31, 2023, 4:03pm UTC](https://discourse.julialang.org/t/is-there-a-built-in-command-to-weave-and-tangle-current-file-in-julia-in-vs-code/105564 "2023-10-31T16:03:28Z")

</div>

Is there a palette command in Julia in VS Code to weave and tange the current document? Or should one always run a script like this one? using Weave filename = normpath("./", "file.jmd") weave(filename; doctype="md2pdf"…

---

## [Deploy Literate non-html files with Documenter](https://discourse.julialang.org/t/deploy-literate-non-html-files-with-documenter/66031)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 3\
**Last updated:** [August 29, 2023, 2:04pm UTC](https://discourse.julialang.org/t/deploy-literate-non-html-files-with-documenter/66031 "2023-08-29T14:04:32Z")

</div>

I’m using Literate.jl to convert example scripts to markdown (md) and Jupyter Notebook (ipynb) for the documentation. The scripts are in examples, and I have a script in docs/generate.jl that gets run as part of docs/mak…

---

## [Problems and advices using Julia in Emacs' Org babel](https://discourse.julialang.org/t/problems-and-advices-using-julia-in-emacs-org-babel/88477)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 3\
**Last updated:** [October 10, 2022, 11:21am UTC](https://discourse.julialang.org/t/problems-and-advices-using-julia-in-emacs-org-babel/88477 "2022-10-10T11:21:39Z")

</div>

Hi all! I wanted to embed some Julia code in some notes I’m taking, thus creating a notebook-like document. I am using Emacs with Org-mode, so I went for Org babel. I followed the instructions on Worg, but I still have …

---

## [Literate and Artifacts](https://discourse.julialang.org/t/literate-and-artifacts/79808)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 6\
**Last updated:** [April 23, 2022, 3:15am UTC](https://discourse.julialang.org/t/literate-and-artifacts/79808 "2022-04-23T03:15:53Z")

</div>

I seem to be unable to use Literate when the script I’m trying to convert tries to load an artifact. The full setup - all files in the same folder - is printed at the bottom of this post. If I execute the script by act…

---

## [Problem with inline math for Literate-generated notebook](https://discourse.julialang.org/t/problem-with-inline-math-for-literate-generated-notebook/60132)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 8:25pm UTC](https://discourse.julialang.org/t/problem-with-inline-math-for-literate-generated-notebook/60132 "2022-03-01T20:25:30Z")

</div>

I’m using Literate and Documenter to develop documentation for a new package. Everything is going smoothly as far as the generated HTML docs go. The problem is that the inline math isn’t displayed as math in the genera…

---

## [Nbdev.jl Alpha release](https://discourse.julialang.org/t/nbdev-jl-alpha-release/73669)

<div class="topic-metadata">

**Author:** [@satyabrata\_pal](https://discourse.julialang.org/u/satyabrata_pal)\
**Replies:** 0\
**Last updated:** [December 27, 2021, 6:21am UTC](https://discourse.julialang.org/t/nbdev-jl-alpha-release/73669 "2021-12-27T06:21:39Z")

</div>

I am happy to announce that I have released the Alpha version of Nbdev.jl. This project is an attempt to port fastai’s Nbdev to Julia. Nbdev (both the original version and the Julia version) is based on the idea of using…

---

## [Nbdev for julia](https://discourse.julialang.org/t/nbdev-for-julia/32450)

<div class="topic-metadata">

**Author:** [@nmoran](https://discourse.julialang.org/u/nmoran)\
**Replies:** 26\
**Last updated:** [October 13, 2021, 10:15am UTC](https://discourse.julialang.org/t/nbdev-for-julia/32450 "2021-10-13T10:15:36Z")

</div>

Wondering if there is anything with similar functionality as nbdev (https://github.com/fastai/nbdev) for Julia or if it might make sense to get this working for Julia?

---

## [Literate programming style macros in Literate.jl or Weave.jl](https://discourse.julialang.org/t/literate-programming-style-macros-in-literate-jl-or-weave-jl/60967)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 7:24pm UTC](https://discourse.julialang.org/t/literate-programming-style-macros-in-literate-jl-or-weave-jl/60967 "2021-05-11T19:24:35Z")

</div>

Dear All, Is there any way of implementing “literate programming style macro” in Literate.jl or Weave.jl? My goal is to write a tutorial-style literate program in a logical order for the human reader. For example: # He…

---

## [Literate.jl: how to skip code parsing/testing for quick generation and preview of the documentation?](https://discourse.julialang.org/t/literate-jl-how-to-skip-code-parsing-testing-for-quick-generation-and-preview-of-the-documentation/58603)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [April 5, 2021, 2:09pm UTC](https://discourse.julialang.org/t/literate-jl-how-to-skip-code-parsing-testing-for-quick-generation-and-preview-of-the-documentation/58603 "2021-04-05T14:09:04Z")

</div>

I am using Literate —\> Documenter for the documentation of my package, but the inclusion of some tutorials makes the generation of the documentation taking a while. Sometimes I would just like to try how the documentati…

---

## [Julia + ESS + org-mode = ob-ess-julia](https://discourse.julialang.org/t/julia-ess-org-mode-ob-ess-julia/48491)

<div class="topic-metadata">

**Author:** [@fsantos](https://discourse.julialang.org/u/fsantos)\
**Replies:** 3\
**Last updated:** [December 8, 2020, 2:42am UTC](https://discourse.julialang.org/t/julia-ess-org-mode-ob-ess-julia/48491 "2020-12-08T02:42:33Z")

</div>

Hi there, Since the good old ob-julia is now orphaned, there was no real support for Julia within org-mode these days. I tried to fill this gap with a very light and simple Emacs package based on ESS: ob-ess-julia. It’s…

---

## [Literate to generate markdown programmatically](https://discourse.julialang.org/t/literate-to-generate-markdown-programmatically/44888)

<div class="topic-metadata">

**Author:** [@jdlara-berkeley](https://discourse.julialang.org/u/jdlara-berkeley)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 7:44pm UTC](https://discourse.julialang.org/t/literate-to-generate-markdown-programmatically/44888 "2020-08-17T19:44:14Z")

</div>

I want to generate Markdown entries programmatically and I am using Literate.jl (maybe that is not the best tool for that, recommendations are also welcome). This is a MWE of what I am trying to do. # # Test import M…

---

## [Is there a weave live preview server?](https://discourse.julialang.org/t/is-there-a-weave-live-preview-server/40466)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 2\
**Last updated:** [May 30, 2020, 9:52pm UTC](https://discourse.julialang.org/t/is-there-a-weave-live-preview-server/40466 "2020-05-30T21:52:27Z")

</div>

I want to write a document using weave, but currently I have to manually rerun the “save to file” or “show preview” commands in vscode. Is there a server which watches the file and recompiles the changed document? Mayb…

---

## [Documenter.jl: Linking to specific files and Documentation of Scripts](https://discourse.julialang.org/t/documenter-jl-linking-to-specific-files-and-documentation-of-scripts/23847)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 3\
**Last updated:** [May 6, 2019, 8:40am UTC](https://discourse.julialang.org/t/documenter-jl-linking-to-specific-files-and-documentation-of-scripts/23847 "2019-05-06T08:40:15Z")

</div>

I am currently writing a package and want to document everything from the beginning on. Documenter.jl is great for that. I am currently writing and example script that also reproduces a previous result (from code in Mat…

---

## [Extracting code excerpts automatically](https://discourse.julialang.org/t/extracting-code-excerpts-automatically/16313)

<div class="topic-metadata">

**Author:** [@janrpeters](https://discourse.julialang.org/u/janrpeters)\
**Replies:** 2\
**Last updated:** [October 14, 2018, 5:12pm UTC](https://discourse.julialang.org/t/extracting-code-excerpts-automatically/16313 "2018-10-14T17:12:08Z")

</div>

I have a self-referential problem: I code programs for a book and like to keep nice and long jupyter notebooks for teaching and developing. From these I would like to automatically extract all files needed as listings fo…
