Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how to render remark locally? #234

Closed
pinggit opened this issue May 27, 2015 · 6 comments
Closed

how to render remark locally? #234

pinggit opened this issue May 27, 2015 · 6 comments
Labels

Comments

@pinggit
Copy link

pinggit commented May 27, 2015

how to generate HTML slides so people can use it offline?

@junderhill
Copy link
Contributor

The discussion on this issue may help you #222

@gnab
Copy link
Owner

gnab commented May 28, 2015

As mentioned by @junderhill this is covered in #222.

What you need to do, is typically to download remark-latest.min.js, put it in the folder next to your HTML slideshow file, and change the URL in src attribute in the script block like this:

<!-- OLD -->
<script src="https://gnab.github.io/remark/downloads/remark-latest.min.js">

<!-- NEW -->
<script src="remark-latest.min.js">

@gnab gnab added the question label May 28, 2015
@junderhill
Copy link
Contributor

I also posted a detailed list of instructions on #194

@gnab
Copy link
Owner

gnab commented Jun 21, 2015

Please reopen if you have any more issues.

@gnab gnab closed this as completed Jun 21, 2015
@matclab
Copy link

matclab commented Mar 12, 2018

Do you have any advice on how to use remark plugins offline and locally ?

I've managed for example to produce a remark-toc.js for which I can do a require (via browserify -r remark-toc > remark-toc.js) , but I have no idea on how I can plug it. The use() function advertised in the plugin documentation doesn't seem available ?

@utdrmac
Copy link

utdrmac commented Mar 12, 2018

@matclab I'm using the latest version of Decktape on OSX (simply git clone their repo) and it's working great for me.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants