In line with the goal of bidirectionality for literate programs, it would be nice to be able to create files in the filesystem which then get stitched automatically into some configured default file. I'd be happy to work on a PR that accomplishes the following:
If default-config is defined in entangled.toml and the file is managed by entangled:
- A new unmanaged file gets detected
- The extension for the file is looked up against dict of standard extensions for available languages
- If the extension is valid, then append a new codeblock in the defined markup style to
default-config and add the appropriate code fences to the original src file
In line with the goal of bidirectionality for literate programs, it would be nice to be able to create files in the filesystem which then get stitched automatically into some configured default file. I'd be happy to work on a PR that accomplishes the following:
If
default-configis defined in entangled.toml and the file is managed by entangled:default-configand add the appropriate code fences to the original src file