We are currently planning to migrate to a different platform for the forum. We will announce this fact both here and on Twitter, once we have settled on a solution.

zettlrRevealOptions definition in OSX

https://docs.zettlr.com/de/academic/presentations/ mentions the zettlrRevealOptions. I was not able to find any setting, any file i could put it or any documentation how to add this options. Maybe it's is more obvious on windows? I need it to add options to my reveal.js export.

Any help would be appreciated

Comments

  • Those options are set using JavaScript in a script-tag in the markdown source (have a look at the screenshot on how it's done: https://docs.zettlr.com/de/academic/presentations/#presentation-settings)

    You can thus define those options you want and leave those you don't.

  • edited May 24

    Thank you! But i must admit it wasn't clear from reading the documentation.

    Feedback to the Documentations:

    It would maybe help if the image with the example was labelled as such. I also got confused by the "const zettlrRevealOptions { ..." example that seemed equally an example as the above. I actually tried adding this.

    `

    const zettlrRevealOptions = {
            // Display controls in the bottom right corner
            controls: true
    }
    </script>
    

    `

    Which is obviously wrong when you understand the logic.

    Thanks for your help!

  • Oh, yes, I see that! Feel free to suggest changes to the documentation; it's publicly available on GitHub: https://github.com/Zettlr/Zettlr-docs

Sign In or Register to comment.