Code Monkey home page Code Monkey logo

Comments (26)

distantcam avatar distantcam commented on July 30, 2024 4

I just had the same problem. Switching the markdown file from CRLF to LF fixed the problem for me.

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024 2

Thank reporting this.
I'm on it.

from vscode-reveal.

distantcam avatar distantcam commented on July 30, 2024 1

@asalber Try installing Typescript and try again

npm i -g typescript

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Can you try the version 3.3.1 ?
Look's like I got problem with font awesome but I don't know why :(

from vscode-reveal.

stonebanks avatar stonebanks commented on July 30, 2024

No, I just checked and I still have the exact same errors with 3.3.1 :(

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Are you trying to put this on slideshare ?

from vscode-reveal.

asalber avatar asalber commented on July 30, 2024

I have the same problem.
The presentation renders perfectly from VScode even if you open it in a browser, but it doesn't work when you export it as static html.

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

@asalber My bad I forgot to mention a big breaking change. You need a web server cause now reveal js is using directly the markdown file. I mean it's an ajax request.

Use can use this chrome extension https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb?hl=en or any web server.

from vscode-reveal.

asalber avatar asalber commented on July 30, 2024

I usually host my presentations on github and they worked perfectly until now, even using this chrome extension.
You can try this: https://github.com/asalber/manual-git
Thanks!

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Thanks for the link I take a look 😅

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

@stonebanks, it should not be a problem by default. But since I'm now on Mac maybe I miss something.

@asalber I just publish a new version that increase timeout before stoping export can you try.
Thank

from vscode-reveal.

visglz avatar visglz commented on July 30, 2024

@distantcam Thanks for the hint. I had the same problem. After the update I had to change the lineendings in the markdown files from CR/LF to LF ( I am working under Windows). @evilz Is this a behaviour of reveal.js? I wonder, because before the update it rendered correctly with CR/LF.

from vscode-reveal.

stonebanks avatar stonebanks commented on July 30, 2024

@distantcam Thanks your workaround did the trick!

from vscode-reveal.

distantcam avatar distantcam commented on July 30, 2024

Another solution is to add these custom separator values to the yaml frontmatter.

separator: '^\r?\n---\r?\n$'
verticalSeparator: '^\r?\n--\r?\n$'

Pretty sure the fix is to change the default values in Configuration.ts.


Also, I'd just like to take the opportunity to say I love this extension. It has allowed me to make a presentation for my usergroup 100% in VSCode.

from vscode-reveal.

asalber avatar asalber commented on July 30, 2024

@evilz I've tried to install the new version but I can not generate the vsix file to install it locally. I get the error:

Executing prepublish script 'npm run vscode:prepublish'...
 ERROR  Command failed: npm run vscode:prepublish
sh: 1: tsc: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] vscode:prepublish: `tsc -p ./`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] vscode:prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

I work with Linux (Kubuntu) and I have installed node version 10.15.1 and npm version 6.4.1.

The solution proposed by @distantcam does not work in my case.

from vscode-reveal.

asalber avatar asalber commented on July 30, 2024

Thanks @distantcam! Now I got the vsix for version 3.3.2, but the problem still continues 😞

from vscode-reveal.

vbshift avatar vbshift commented on July 30, 2024

@distantcam Does your regex fix the problem ?

I need to and test for this :p

from vscode-reveal.

ghirardinicola avatar ghirardinicola commented on July 30, 2024

It was very useful to have a static html in order to distribute a dynamic version of the presentation.
Do you know if there is an alternative way to have that kind of feature without asking people to install a browser plugin?

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Oki, thanks to tell me your needs 😊.
I will revert this behaviour to a real static HTML.

from vscode-reveal.

ghirardinicola avatar ghirardinicola commented on July 30, 2024

Thank you, really appreciate!

from vscode-reveal.

drrui avatar drrui commented on July 30, 2024

@distantcam it really works!
but there is some problems with the font size....all the words are too small...
how to solve it ?

from vscode-reveal.

distantcam avatar distantcam commented on July 30, 2024

@drrui I don't know? I'm not the maintainer of this project. Please open another issue and provide more details like a screenshot, what system you're running, steps to reproduce. Thanks

from vscode-reveal.

drrui avatar drrui commented on July 30, 2024

@distantcam Sorry, thanks a lot for your help.

from vscode-reveal.

ghirardinicola avatar ghirardinicola commented on July 30, 2024

@evilz can you point me at where to look to change the export to static html please?

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Hi, not sure to understand what you are looking for or what you want to do

from vscode-reveal.

fuhrmanator avatar fuhrmanator commented on July 30, 2024

In 3.4.0 I'm getting the same result as the OP (identical screenshot). If I start with a simple project, all the slides are combined on one page (the --- cause horizontal lines, everything is on one slide, etc.).

Edit: #127 (comment) solved the problem. Why is that not the default setting?

from vscode-reveal.

Related Issues (20)

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.