Closed RossBoylan closed 10 months ago
Perhaps we can introduce a filename terminating token. As long as that token doesn't exist the filename isn't created yet.
I propose whitespace followed by dollar sign
```py : <<snippet.*>>= ./filename.py $
# code here
As I type in the name of an output file in the code fence, files are created as I go, including spelling errors that I later correct. Here's one example of the result:
The file starting with
jsv4
and all the ones starting withv
are from typing in the code fence. By the way, that was all from before I realized I was using the wrong directory, and so none of the files "should" be there, in the sense that given my current input file they would not be created.It's not obvious to me how to fix this. Some possibilities:
I think a user work-around would be to avoid typing the
:
until the rest of the line is done. Even if it works, it's awkward.