Comments (26)
I just had the same problem. Switching the markdown file from CRLF
to LF
fixed the problem for me.
from vscode-reveal.
Thank reporting this.
I'm on it.
from vscode-reveal.
@asalber Try installing Typescript and try again
npm i -g typescript
from vscode-reveal.
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.
No, I just checked and I still have the exact same errors with 3.3.1 :(
from vscode-reveal.
Are you trying to put this on slideshare ?
from vscode-reveal.
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.
@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.
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.
Thanks for the link I take a look 😅
from vscode-reveal.
@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.
@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.
@distantcam Thanks your workaround did the trick!
from vscode-reveal.
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.
@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.
Thanks @distantcam! Now I got the vsix for version 3.3.2, but the problem still continues 😞
from vscode-reveal.
@distantcam Does your regex fix the problem ?
I need to and test for this :p
from vscode-reveal.
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.
Oki, thanks to tell me your needs 😊.
I will revert this behaviour to a real static HTML.
from vscode-reveal.
Thank you, really appreciate!
from vscode-reveal.
@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.
@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.
@distantcam Sorry, thanks a lot for your help.
from vscode-reveal.
@evilz can you point me at where to look to change the export to static html please?
from vscode-reveal.
Hi, not sure to understand what you are looking for or what you want to do
from vscode-reveal.
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)
- Custom css theme loads but gets overwritten by default theme, possibly issue with z-index?
- Mermaid should respect RevealJS' theme
- Support for animate plugin HOT 1
- No syntax highlight for SPARQL and Turtle
- Use custom theme from a super folder HOT 2
- support for svg-fragment HOT 1
- Add support for copying code from markdown
- support for pandoc style class / attribute markdown
- Offline support HOT 3
- Is there a way to put an option to choose between a light and a dark theme at the start of the presentation?
- Including TOC in footer (possibly through plugin TOC-Progress)
- How do I clean up the whole page
- can not display braces`{}` in latex HOT 1
- Docs framework?
- Where do we put the `revealjs` options? HOT 1
- Parallax background transition "jumpy"
- CI/CD pipeline integration HOT 1
- Off-by-one bug in preview?
- Update revealjs to v4.6.0 HOT 1
- Allow use from the web editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-reveal.