Giter Site home page Giter Site logo

Comments (4)

sameersingh avatar sameersingh commented on August 15, 2024

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 [email protected]
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
#3.

from acl2015tutorial.

andreasvlachos avatar andreasvlachos commented on August 15, 2024

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:

<style type="text/css"> p { text-align: left; } </style>

Is this what you are looking for?

Thanks,
Andreas

On 8 Jul 2015, at 18:00, Sameer Singh [email protected] 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 [email protected]
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
#3.


Reply to this email directly or view it on GitHub.

from acl2015tutorial.

sameersingh avatar sameersingh commented on August 15, 2024

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 [email protected]
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:

<style type="text/css"> p { text-align: left; } </style>

Is this what you are looking for?

Thanks,
Andreas

On 8 Jul 2015, at 18:00, Sameer Singh [email protected] 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 <
[email protected]>
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
#3.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#3 (comment)
.

from acl2015tutorial.

sameersingh avatar sameersingh commented on August 15, 2024

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.

from acl2015tutorial.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.