Hello!
First, thanks so much for this integration, I found it after watching your video from F(by), looks great!
I'm using remark.js, which is a more lightweight presentation builder, similar to reveal.js, runs and renders markdown completely in the browser, no build step needed.
Remark renders markdown code snippets (inside ``` blocks) with a <pre> tag, so I used jquery to wrap the pre tags with <div data-scalafiddle>. It did the trick, and added the Run button. Unfortunately, when the fiddle had loaded, it displayed the code condensed to a single line:
Unfortunately, I'm not too good with JavaScript to even figure out why is this happening... :(
Here's the entire slide code to reproduce. Unfortunately I was unable to make this work in a codepen... Please save this as index.html and run locally.
Hello! First, thanks so much for this integration, I found it after watching your video from F(by), looks great!
I'm using remark.js, which is a more lightweight presentation builder, similar to reveal.js, runs and renders markdown completely in the browser, no build step needed.
Remark renders markdown code snippets (inside ``` blocks) with a
<pre>
tag, so I used jquery to wrap thepre
tags with<div data-scalafiddle>
. It did the trick, and added the Run button. Unfortunately, when the fiddle had loaded, it displayed the code condensed to a single line:Unfortunately, I'm not too good with JavaScript to even figure out why is this happening... :(
Here's the entire slide code to reproduce. Unfortunately I was unable to make this work in a codepen... Please save this as index.html and run locally.