1. 8
  1.  

  2. 3

    There’s also a quite convenient literate programming library called tango for Rust: https://github.com/pnkfelix/tango

    I’m currently using it to develop a library.

    1. 1

      Cool project! How is your experience with Tango so far?

      1. 2

        Nice, it’s pretty much seemless, especially as it tries to have a 1:1 mapping between the markdown and the output, so line numbers and errors match.

        Also, it finds out whether you edited the markdown file or the Rust file and change the other, so you can choose to work on any to your liking.

        The only thing that’s missing is an editor that can highlight the Rust parts in Markdown.