Hugo Granström

Results 161 comments of Hugo Granström

So, the objective in nimiSlides is to allow users to specify fields in a configuration object sent to Reveal.js. E.g: ```js Reveal.initialize({ mouseWheel: true, slideNumber: 'c/t', center: false }); ```...

The last two paragraphs are mostly brain-storming so don't be afraid to ask if there is parts that are not making sense (there definetly is!). The summary of it is...

> How much of the ugliness you experience is due to use of mustache Value type and would using JsonNode for data be helpful here? I'd say that it wouldn't...

So basically we have these three (four) kinds of actions we want plugins to be able to do: 1. Populate templates, renderPlans and renderProcs 2. Initialize stuff (initialize variables, populate...

Okay, have thought a bit more about it now and a render-plugin only really needs the `partials`, so it would only need that `Table[string, string]` as its input and not...

I'll keep brainstorming here. I realized all of these (render, init, block, save) are just different ***hooks*** the plugin can run at! They are all just different points in the...

Yes this is something we would want 👍

If you want it done anytime soon, you'll have to make a PR yourself. Let's see how the preview on the PR looks and we can take it from there.

For those like me trying the suggested code above, it doesn't work. This is because `parsetoml` doesn't generate JSON for serialization but for testing. So the object `(srcDir: "docsrc", "homeDir":...

Upon further inspection it seems like mustache doesn't support rendering tables the way I thought (looping over them), so instead it will have to be a `seq[Table[string, string]]` where we...