Comments (12)
That sounds like an issue you're having with reveal.js itself. Or, please provide more details (such as the HTML being rendered, what exactly is not working, etc.).
from reveal-md.
I typed in a present.md file:
---
<section data-transition="zoom" data-background="#FE642E">
Background Slides
</section>
---
<section data-background="#01DFD7" data-background-transition="convex" data-transition="fade">
Changing Background Transitions
</section>
---
Also had written the following in the reveal.json file:
{
"controls": false,
"progress": true,
"transition": "zoom",
"backgroundTransition": "slide",
"parallaxBackgroundImage": "sea.jpg",
"parallaxBackgroundSize": "2100px 900px",
"parallaxBackgroundHorizontal": 200,
"parallaxBackgroundVertical": 50
}
When I run the reveal-md present.md
then the slide
transition (i.e. in the reveal.json) works not the convex
one.
from reveal-md.
I think this is about reveal.js itself. reveal-md just passes the options to reveal.js (see {{{options}}}
in https://github.com/webpro/reveal-md/blob/master/template/reveal.html).
from reveal-md.
I took the following code from the reveal.js
and added the attribute data-transition="zoom"
into the section
tag. This (zoom effect on first slide) didn't work with reveal-md, but it worked fine on reveal.js.
<section data-transition="zoom">
<h1>Reveal.js</h1>
<h3>The HTML Presentation Framework</h3>
<p>
<small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
</p>
</section>
Can you please help me with this?
from reveal-md.
Does any HTML inside your Markdown get rendered properly?
from reveal-md.
Yes the above section works fine except the transition.
from reveal-md.
I just checked, and a nested <section>
is generated from the Markdown (the slide separator + the custom HTML <section>
). I guess reveal.js still picks up the background color, but does not override the transition per slide.
from reveal-md.
Now, is there any hack that would make it work?
from reveal-md.
Not sure, you'd need to dig into the reveal.js codebase. I'm closing this for now.
from reveal-md.
Can you please point me to a particular section to look for?
Thanks for the help.
from reveal-md.
https://github.com/hakimel/reveal.js#markdown & https://github.com/hakimel/reveal.js/blob/master/plugin/markdown/markdown.js
from reveal-md.
Thank you
from reveal-md.
Related Issues (20)
- How to set Mathjax with local file? HOT 1
- Support for fragments HOT 3
- Support for `data-line-numbers` HOT 5
- Is it capable of displaying math formulation? HOT 2
- zenburn.css no longer in highlight.js styles folder after I upgraded to reveal-md 5.3.3 (just now) HOT 4
- 安装后不识别命令reveal-md HOT 3
- Customize static site base URL (example gitub pages organisation repo) HOT 1
- 安装一直卡住
- Patch for issue#409 is not sufficient and the protection can be bypassed by an attacker HOT 1
- Failed to generate pdf HOT 2
- open speaker view and "hashOneBasedIndex": true; HOT 2
- Is there a support for animating between code blocks? HOT 2
- Fragment target HOT 1
- watching server vs. static files are not matching file paths HOT 2
- Absolute URL with sub-directory does not work with custom theme and CSS HOT 1
- web video display problem
- Can you provide the Settings that can be filled in yaml formatter markdown head? HOT 2
- `--static` with `--theme` generate the `index.html` with the wrong path of `theme.css` HOT 2
- JSON configuration files not found when targeting markdown files outside the current directory HOT 1
- Support Reveal's Lazy Loading HOT 1
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 reveal-md.