mlange-42 / yarner

Literate Programming command line tool for Markdown
https://mlange-42.github.io/yarner
MIT License
32 stars 1 forks source link

Modify code paths #28

Closed mlange-42 closed 3 years ago

mlange-42 commented 3 years ago

@adamreichold I think this is a sufficiently simple solution which solves the cases encountered so far.

You probably have some improvement suggestions regarding borrowing, to_owned etc. Also, there may be a more idiomatic solution than the for loop in modify_path.

Fixes #27.