fetch('https://raw.githubusercontent.com/anvlasov/TextChat_fakeMsg/main/MathExpressions.md') .then(response => { return response.text(); }) .then(response => { var output = document.getElementById('output'); window.fakeMsg = {text: response}; console.info('Msg was set');
})