Closed andreasvlachos closed 9 years ago
If you don't mind looking at little bit at reveal.js, and letting me know if there's an html or javascript code snippet that can achieve it, I can make it a configuration option for "section" cells in Moro.
On Wed, Jul 8, 2015 at 10:22 PM, Andreas Vlachos notifications@github.com wrote:
Is there a way of setting it on a slide-per-slide basis? I recall the default was changed from left to centre to accommodate better for the scala slides, but I have found it difficult to work with in the context of the markdown and html. Somehow they always look much better in the editor view, which aligns them left as far as I can tell.
— Reply to this email directly or view it on GitHub https://github.com/uclmr/acl2015tutorial/issues/3.
Hi Sameer,
Had a quick look around (don’t know reveal.js at all, others please correct me), but here:
http://stackoverflow.com/questions/21019476/how-can-i-get-left-justified-paragraphs-in-reveal-js
there is this bit:
Is this what you are looking for?
Thanks, Andreas
On 8 Jul 2015, at 18:00, Sameer Singh notifications@github.com wrote:
If you don't mind looking at little bit at reveal.js, and letting me know if there's an html or javascript code snippet that can achieve it, I can make it a configuration option for "section" cells in Moro.
On Wed, Jul 8, 2015 at 10:22 PM, Andreas Vlachos notifications@github.com wrote:
Is there a way of setting it on a slide-per-slide basis? I recall the default was changed from left to centre to accommodate better for the scala slides, but I have found it difficult to work with in the context of the markdown and html. Somehow they always look much better in the editor view, which aligns them left as far as I can tell.
— Reply to this email directly or view it on GitHub https://github.com/uclmr/acl2015tutorial/issues/3.
— Reply to this email directly or view it on GitHub.
I see. I can add a config option to "section" cells to set the HTML CSS class for the slide, and then you can add the corresponding CSS in present.css. I'll let you know when I have this in, with an example.
Hope that'll work. Will let you know.
On Wed, Jul 8, 2015 at 11:41 PM, Andreas Vlachos notifications@github.com wrote:
Hi Sameer,
Had a quick look around (don’t know reveal.js at all, others please correct me), but here:
http://stackoverflow.com/questions/21019476/how-can-i-get-left-justified-paragraphs-in-reveal-js
there is this bit:
Is this what you are looking for?
Thanks, Andreas
On 8 Jul 2015, at 18:00, Sameer Singh notifications@github.com wrote:
If you don't mind looking at little bit at reveal.js, and letting me know if there's an html or javascript code snippet that can achieve it, I can make it a configuration option for "section" cells in Moro.
On Wed, Jul 8, 2015 at 10:22 PM, Andreas Vlachos < notifications@github.com> wrote:
Is there a way of setting it on a slide-per-slide basis? I recall the default was changed from left to centre to accommodate better for the scala slides, but I have found it difficult to work with in the context of the markdown and html. Somehow they always look much better in the editor view, which aligns them left as far as I can tell.
— Reply to this email directly or view it on GitHub https://github.com/uclmr/acl2015tutorial/issues/3.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/uclmr/acl2015tutorial/issues/3#issuecomment-119681875 .
I created an issue wolfe-pack/moro#72 for this.
As an example, for config option "Reveal Classes" for any section cell in the editor, if you add text-danger
, the text on that slide will be red (this is a built-in class). This way you can add any class to the section (e.g. className
), and add the appropriate section in the present.css
file (to be safe, something like .reveal > .slides > section.className
).
Closing, but let feel free to ask questions or reopen if it doesn't work.
Is there a way of setting it on a slide-per-slide basis? I recall the default was changed from left to centre to accommodate better for the scala slides, but I have found it difficult to work with in the context of the markdown and html. Somehow they always look much better in the editor view, which aligns them left as far as I can tell.