Open mdear opened 1 year ago
It seems it doesn’t load the external scripts.
It seems it doesn’t load the external scripts.
@basxto Do you know any work around for this?
Thank you,
I don’t remember. But I don’t think I got it working.
Though it’s not generally broken. The example URL from the index.html works for me: https://htmlpreview.github.io/?https://github.com/twbs/bootstrap/blob/gh-pages/2.3.2/index.html
And other repos also work: https://htmlpreview.github.io/?https://github.com/basxto/gbm-web/blob/gh-pages/about.html
But it doesn’t work with all sites apparently.
It’s just easier to clone and run a local web server than bothering to fix this:
cd /tmp
git clone https://github.com/ajnafa/psci-3300-political-science-research
cd psci-3300-political-science-research
serve -l 8000
(Or any other primitive web server darkhttpd . --port 8000
, python3 -m http.server 8000
, ruby -run -ehttpd . -p8000
, sudo quark -p 8000 -g users
…)
And then visiting http://localhost:8000/content/05-conceptualization-and-measurement/slides/09-27-2022/conceptualization-and-measurement.html
https://htmlpreview.github.io/?https://raw.githubusercontent.com/ajnafa/psci-3300-political-science-research/main/content/05-conceptualization-and-measurement/slides/09-27-2022/conceptualization-and-measurement.html
I tried on Brave and Chrome browsers, page loaded but no content was visible.