Sounds like you might find Literate.jl (ANN: Literate.jl) useful (disclaimer: I am the author of that package). Your usecase sounds just like the one I had for writing the package in the first place.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Documenter.jl - Creating Documentation for Arbitrary Julia Scripts | 1 | 372 | December 26, 2023 | |
| Can documenter insert (embed) examples from a file to a page code block? | 2 | 377 | March 11, 2021 | |
| How to use Markdown reference links with Documenter.jl | 2 | 1598 | October 31, 2022 | |
| Literate.jl to PDF using Documenter.jl simple question | 15 | 377 | May 22, 2025 | |
| Newbie questions concerning Documenter.jl usage: @example & link to source code | 0 | 644 | January 17, 2018 |