Load txt from Github in html with JavaScript -


Me and my friend are working on a text, which is saved in txt format, it has some custom markup Jithub repo

Is it possible to load this type of textile from Geethub into a HTML file with Javascript and parse it accordingly to make HTML from my custom markup? I know that such works are usually done on server side, but for provisional purposes, while txt is underway, is it possible to do this without any server?

I tried to load with TSTS with a simple XMLHttpRequest (as described) and with a CORS request (described), but due to the cross-domain nature of the requests I get errors both times . So I was thinking, is it possible?

I am asking because I want to host the provisional website on the Jithub pages, but it does not support sites requiring those backend arguments. / P>


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Algorithm negotiation fail SSH in Jenkins -

java - Messages from .properties file do not display UTF-8 characters -