@cobalt have you figured out how to update this to support Live Preview?
I’ve looked into it, but can’t figure out what needs to be changed, but my code understanding is very basic 
Here’s the current code for the plugin I’ve made available on the Obsidian community list:
import { App, Plugin, MarkdownPostProcessor, MarkdownPostProcessorContext } from 'obsidian';
export default class LinkHeadersDirectly extends Plugin {
async onload() {
let postProc: MarkdownPostProcessor;
postProc = (el: HTMLElement, ctx: MarkdownPostProcessorContext) => {
let linkElements = el.querySelectorAll('a.internal-link');
let barIndex, alias;
for(let i = 0; i < linkElements.length; i++) {
let linkAsHTML = (linkElements[i] as HTMLElement).innerText;
barIndex = linkAsHTML.indexOf(">");
if(barIndex < 0) continue;
alias = linkAsHTML.substr(barIndex+2);
(linkElements[i] as HTMLElement).innerText = alias;
}
}
this.registerMarkdownPostProcessor(postProc);
}
}