Ihor Radchenko <[email protected]> writes: > Christian Moe <[email protected]> writes: >> Maybe we should replace hard links with a set of youtube:, github:, and >> reddit: link types that we can update in one place so they always point >> to the currently selected instances? (A separate githubgist: type might >> also be needed.) > > Yes, that's what I also had in mind.
But strikes me that the publish.sh process skips unchanged Org files, so files with e.g. youtube: links will not be re-exported automatically when the link definition changes. If so, it would require some additional step, whether adding detection of those links to publish.sh (like we have for #+INCLUDE), or updating timestamps with something like touch `git grep -l "https://www.youtube.com"` after changing a link. Still less burdensome than changing them manually and less risky than sed-ing through everything. Yours, Christian
