What do you think? add a callback to Documents.Page() to allow modification of *.md pages on the fly before parsing

Do you want the preprocessing to happen at the text level or AST level? If the former, it still seems like something you could do yourself in make.jl between the Literate and makedocs calls?