add support for custom section attributes
including data-markdown, data-autoslide, data-background_, data-transition_; maybe as node attributes?
Love this feature
Especially the idea of markdown
Can I help? I've read through the config.xml and mindslide.xsl but my xslt is rusty.
A little help with design, or functional requirements, might help me create a patch :)
Hi @melvincarvalho, Help is welcome.
Reveal.js (the engine behind mindslide) already supports markdown and the likes: https://github.com/hakimel/reveal.js#markdown
Such a feature would therefore require to
- figure out how your user would enter his/her markdown in the Freeplane (editor? simple text node? GUI?)...
- detect in the Freeplane's XML what node should be interpreted as markdown
- edit the xslt to translate that particular node into the syntax needed by Reveal, probably around https://github.com/berteh/mindslide/blob/master/mindslide.xsl#L240
- include the required js files in the generated output header and output files.
Let me know if this speaks to you at all... or if you have other ideas or want more help. Welcome on board, Berteh.
Markdown is just one of the many features of Reveal that applies to a section (i.e. slide). So, if on your way to markdown, you figure a more generic way to support multiple features that would be even more interesting.
look in https://github.com/hakimel/reveal.js for, among others:
data-transition, data-autoslide, data-background_, fragments ,...
One of the first question being always: how can the user input this info in a user-friendly way in Freeplane?
Thanks again !
Great, thanks for the very clear explanation. Indeed a generic solution would be cool.
For markdown, I see two ways
- Add an attribute, or something similar, like for slide-hide
- Sniff the content e.g. with a magic string at the start of the markdown
There may be other approaches. I'll look into more detail!
I hope it's OK to add this link here, as "food for thought", while we are in design mode
https://rajgoel.github.io/reveal.js-demos/anything-demo.html#/4/1
It's on the topic of making slide content more varied. The reveal plugin "anything" offers some nice use cases
sure is. thanks for the link.
I would like to keep the mindmaps nicely readable in Fireplane though... and therefore not so sure about more javascript-based content that MM will not be able to display/interpret.... but it's just my view and I'm open to reconsidering.