You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
Sometimes when I'm writing code for my blog, I'd like to make the code in question downloadable, and keep it in a separate file so I get nice syntax highlighting / snippets / etc when I'm working on it, and also so I can run it and write simple test cases for it to make sure it works.
Maybe markdown syntax that included a comment at the first line of the file, like this:
```python# from: foo.py```
This could re-write the source file during the build process, to drop the contents foo.py into the document inline (indented as appropriate).
The text was updated successfully, but these errors were encountered:
Sometimes when I'm writing code for my blog, I'd like to make the code in question downloadable, and keep it in a separate file so I get nice syntax highlighting / snippets / etc when I'm working on it, and also so I can run it and write simple test cases for it to make sure it works.
Maybe markdown syntax that included a comment at the first line of the file, like this:
This could re-write the source file during the build process, to drop the contents
foo.py
into the document inline (indented as appropriate).The text was updated successfully, but these errors were encountered: