Might be as simple as having it print out the url if borrowed from. But basically it should add something to the footer that lets people know where the borrowed chapter is from.
It should be able to be turned on or off with an argument.
Could this even be the output of the code chunk where a small line that renders immediately under the rendered chunk that says, "Adapted from: "? That way if you borrow multiple markdowns in a single OTTR page the acknowledgment will get rendered very close to the chunk?
Might be as simple as having it print out the url if borrowed from. But basically it should add something to the footer that lets people know where the borrowed chapter is from.
It should be able to be turned on or off with an argument.