Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
To clarify, is the {assets} code added to the page content or to a twig?
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
Yes, progress...using Assets plugin and not loading the file but using js_inline asset type, I have that Javascript now generated in the HTML by Grav. Still not getting the http: source initialized fo
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
It's worth a try ;)
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
I'm using the Shortcode Assets Plugin, not the Assets plugin. Shall I try switching plugins?
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
Well the syntax to be used when using the Assets plugin is like: {assets:js order:5} //gnab.github.io/remark/downloads/remark-latest.min.js //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_H
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
FYI - I've just tried to fix my .js file by taking out the external URL sources and leaving only the Javascript code without the <script> tags. And then changed my shortcodes to: //gnab.github.
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
That doesn't look good. The initialisation JS code of Remark.js isn't there. Since you have CSS Pipelining active it isn't clear whether the CSS Remark requires are loaded. Switching the pipelining of
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
I pulled out the javascript from the remark.js boilerplate, and put it in a .js file in the same user/pages folder as the page itself (see below). Then used this in the page: [assets=js] slide.js [/as
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
Here's the generated HTML <head> section (partial...): <script> $(document).ready(function() { anchors.options = { visi
-
How to add a page that uses remark.js that is a markdown driven slideshow
· 9 years ago
@bleutzinn, I know the css is getting loaded, since it messes up my sidebar styling. As for the Javascript ... I don't think I see it in the generated HTML.