-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error page in Firefox #6
Comments
Sorry for late reply You may need to check:
M-x flymd-flyit should point to |
Thanks for your reply. Javascript is enabled on my side. As you pointed out, there is a problem with getting the js files. When loading I can access the files manually though (e.g. showing https://cdn.rawgit.com/mola-T/flymd/master/cdn/flymd_1_3_0.js in the browser). And if I replace the links in |
Is it all fies from domain rawgit.com cannot be loaded? Does it help with Ctrl + f5 to reload all files? |
Actually yes, the jquery file that is successfully loaded is the only one from another domain. Using |
Does it work if you change the <head>
<!--- This is the css used by for displaying gfm. --->
<!--- Source --->
<!--- https://github.com/sindresorhus/github-markdown-css --->
<link rel="stylesheet" href="https://raw.github.com/mola-T/flymd/master/cdn/github-markdown_1_0_0.css">
<!--- My css file to format the page --->
<link rel="stylesheet" href="https://raw.github.com/mola-T/flymd/master/cdn/flymd_1_1_0.css">
<!--- jQuery --->
<script src="https://code.jquery.com/jquery-2.2.3.min.js"
integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo="
crossorigin="anonymous"></script>
<!--- This is the script for converting md to html --->
<!--- Source --->
<!--- https://github.com/showdownjs/showdown --->
<script type="text/javascript"
src="https://raw.github.com/showdownjs/showdown/master/dist/showdown.min.js"></script>
<!--- My js file. --->
<script type="text/javascript"
src="https://raw.github.com/mola-T/flymd/master/cdn/flymd_1_3_0.js"></script>
</head> |
Thanks for your response. When replacing the header by the above code, the markdown input is normally rendered in html, and auto-refresh and auto-scroll work fine. However, the firebug network panel indicates a I'm still able to get the expected rendering by linking to local copy of the css files, so I can use the mode nevertheless. |
Linking to local copy is a nice work around. However, you need to manually replace the code if this package updates or even stop the package from updating.
This issue seems to be a special case. I will keep this issue opened for a month. If there is no further update or user report, I will close this after a month. |
Switching all However, the idea of having the files locally accessible might still be interesting. It would allow an offline use of the package which is impossible right now. Have you considered shipping the js/css files with the package? |
Local js/css is not preferred because it involved relative path. Currently |
I have the same problem here. |
It does work with Firefox 57. |
Thanks for making this available, it's exactly what I need to type simple markdown files!
I've installed
flymd
via melpa and I get thepage upon
M-x flymd-flyit
. It does point to thebrowser.md
file for solution but everything is supposed to be ok with Firefox.My setting is Ubuntu 16.04, Emacs 24.5.1 and Firefox 47.0. Any hint on what I might try?
The text was updated successfully, but these errors were encountered: