-
Notifications
You must be signed in to change notification settings - Fork 857
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
How to render the local version [boilerplate-local.html] #222
Comments
The only difference between the If the |
Yes, so it makes the single-version self-sufficient (which is great) but also heavier. If I put the |
Leaving |
I am using the file The file Just to make it clear, the bottom of my
[PS: thanks a lot for checking this/my issue.] |
Aha, that explains it. The easiest option it to simply download http://remarkjs.com/downloads/remark-latest.min.js and rename it to It is also possible to go to the releases section at https://github.com/gnab/remark/releases and download a specific version's zip file in which you'll find the correct |
Issue solved. Now it works perfectly. Thanks a lot! |
Great. remark.js in the src folder is just part of the final remark.js. It is referencing all the other files in the src folder, and all those files are bundled up in the final remark.js. |
So we need to download remark-latest-min.js, rename it to remark.js and put in ./out/ but leave src/remark.js alone cause that's a completely different file? That's too many "remark.js" same-named files with different purposes. confused I've been banging head against wall trying to use src/remark.js in my local.html and getting 'require is not defined' Can you provide a sample/minimal on-disk layout tree for multiple presentations? EDIT: Ok. So, one does NOT need to clone the repo in order to use/make remark presentations. You only need to download the remark-latest-min.js. The 'Getting Started' docs are a little confusing on this. Maybe you'll want to update and explain this? |
I agree this can be a bit confusing. Typically, stuff inside the The boilerplate templates were created before the bundled file was removed, so now, the local template won't work until you either build remark yourself (which produced the bundled file in the The 'Getting Started' section in the project README and in the wiki both reference the latest version remark: <script src="https://gnab.github.io/remark/downloads/remark-latest.min.js"> To use remark locally/offline, the I guess the boilerplate files are more confusing than helpful, and should probably just be removed, leaving the HTML in the 'Getting Started' section as the single way to do things. |
Hi. I tried to use the boilerplate-local.html offline. I opened it in Chromium 46.0.2456.0 (Developer Build) (32-bit) and only the first slide is shown. In the developer console, there's the following error:
|
@Dominik-K, Did you clone/compile? Be sure to check the source path 'out/remark.js'. I would try using boilerplate-single.html for standalone/local running. Or, what I do, just download remark locally, http://gnab.github.io/remark/downloads/remark-latest.min.js |
@utdrmac I used the v0.11.0 release.
and 3566 solved the problem. This lines are introduced with #143. |
I'm on Google Chrome 44.0.2403.130 (Official Build) (64-bit) but I haven't used/tried the boilerplate pages. No issues here with that new functionality of #143 |
I am using chromium version: Version 45.0.2454.85
The corresponding discussion about this chrome change is in: |
Do what @Dominik-K suggested and simply modify the logic within remark.js. Everything started working for me again. |
I just released version 0.12 which fixes the security error. |
remark is quite amazing. Also because it can be used locally (and offline). The single version [boilerplate-single.html] is working like a charm out of the box, but I have an issue to render the local version.
Does it require a local webserver (even if the markdown in included in the html file) ?
The text was updated successfully, but these errors were encountered: