Add git extraction escape to inclusion filenames #12

Closed
opened 2021-02-12 00:14:00 +00:00 by glen · 0 comments
Owner

E.g. {! "\git doc/early:README.md" !} would write the output of git show doc/early:README.md to a temp file and then include that. This is useful in case you are documenting/chronicling the development of a project over time; you can be sure that bit that you're extracting won't change as the code does. (Note in most instances you probably would want it to update, so this facility is for specific purposes.)

E.g. `{! "\git doc/early:README.md" !}` would write the output of `git show doc/early:README.md` to a temp file and then include that. This is useful in case you are documenting/chronicling the development of a project over time; you can be sure that bit that you're extracting won't change as the code does. (Note in most instances you probably would want it to update, so this facility is for specific purposes.)
glen closed this issue 2021-02-12 17:11:07 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/mkdocs-semiliterate#12
No description provided.