Change link references to inline references