FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.7k stars 690 forks source link

Layout not seem to be working #1297

Open SrNetoChan opened 9 months ago

SrNetoChan commented 9 months ago

Question

I am trying to follow the getting started instructions, for creating a presentation from a md file. I am using the md example, but it seems that the { "layout" : "columns" } is not working. Do I need to install something else?

Background Info/Attempts

So, I have installed npm in ubuntu using apt repository then I have installed spectacle with

sudo npm install spectacle-cli

Finally I tried to serve the md example with:

sudo spectacle -s example.md

It serves it ok, and the presentation shows on localhost:3000 , but the first slide looks strand seem that --- { "layout" : "columns" } was not correctly parced.

carloskelly13 commented 8 months ago

This is likely a version mismatch, I'll take a look!