Skip to content

Commit

Permalink
update all links to docs (will sub out '.netlify.app' once we ship 4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed May 18, 2020
1 parent f618de8 commit 815557c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion css/print/pdf.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* This stylesheet is used to print reveal.js
* presentations to PDF.
*
* https://github.com/hakimel/reveal.js#pdf-export
* https://revealjs.netlify.app/pdf-export/
*/

html.print-pdf {
Expand Down
4 changes: 2 additions & 2 deletions css/theme/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Dependencies

Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceeding: https://github.com/hakimel/reveal.js#full-setup
Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment installed before proceeding: https://revealjs.netlify.app/installation/#full-setup

## Creating a Theme

To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/gruntfile.js)) when you run `npm run build -- css-themes`.
To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled from Sass to CSS (see the [gulpfile](https://github.com/hakimel/reveal.js/blob/master/gulpfile.js)) when you run `npm run build -- css-themes`.

Each theme file does four things in the following order:

Expand Down
40 changes: 19 additions & 21 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ <h2>Touch Optimized</h2>
## Markdown support

Write content using inline or external Markdown.
Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
Instructions and more info available in the [readme](https://revealjs.netlify.app/markdown/).

```[]
<section data-markdown>
## Markdown support
Write content using inline or external Markdown.
Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
Instructions and more info available in the [readme](https://revealjs.netlify.app/markdown/).
</section>
```
</script>
Expand Down Expand Up @@ -345,7 +345,7 @@ <h2>Intergalactic Interconnections</h2>

<section>
<h2>Speaker View</h2>
<p>There's a <a href="https://github.com/hakimel/reveal.js#speaker-notes">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
<p>There's a <a href="https://revealjs.netlify.app/speaker-view/">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
<p>Press the <em>S</em> key to try it out.</p>

<aside class="notes">
Expand All @@ -355,7 +355,7 @@ <h2>Speaker View</h2>

<section>
<h2>Export to PDF</h2>
<p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, here's an example:</p>
<p>Presentations can be <a href="https://revealjs.netlify.app/pdf-export/">exported to PDF</a>, here's an example:</p>
<iframe data-src="https://www.slideshare.net/slideshow/embed_code/42840540" width="445" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
</section>

Expand Down Expand Up @@ -391,10 +391,10 @@ <h2>Take a Moment</h2>
<h2>Much more</h2>
<ul>
<li>Right-to-left support</li>
<li><a href="https://github.com/hakimel/reveal.js#api">Extensive JavaScript API</a></li>
<li><a href="https://github.com/hakimel/reveal.js#auto-sliding">Auto-progression</a></li>
<li><a href="https://github.com/hakimel/reveal.js#parallax-background">Parallax backgrounds</a></li>
<li><a href="https://github.com/hakimel/reveal.js#keyboard-bindings">Custom keyboard bindings</a></li>
<li><a href="https://revealjs.netlify.app/api/">Extensive JavaScript API</a></li>
<li><a href="https://revealjs.netlify.app/auto-slide/">Auto-progression</a></li>
<li><a href="https://revealjs.netlify.app/backgrounds/#parallax-background">Parallax backgrounds</a></li>
<li><a href="https://revealjs.netlify.app/keyboard/">Custom keyboard bindings</a></li>
</ul>
</section>

Expand All @@ -410,26 +410,24 @@ <h1>THE END</h1>

</div>

<script type="module">
<script src="dist/reveal.js"></script>
<script src="plugin/zoom/zoom.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/search/search.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>

import Reveal from '/dist/reveal.esm.js';
import Zoom from '/plugin/zoom/zoom.esm.js';
import Notes from '/plugin/notes/notes.esm.js';
import Search from '/plugin/search/search.esm.js';
import Markdown from '/plugin/markdown/markdown.esm.js';
import Highlight from '/plugin/highlight/highlight.esm.js';

// More info https://github.com/hakimel/reveal.js#configuration
// Also available as an ES module, see:
// https://revealjs.netlify.app/initialization/
Reveal.initialize({
controls: true,
progress: true,
center: true,
hash: true,

transition: 'slide', // none/fade/slide/convex/concave/zoom

// More info https://github.com/hakimel/reveal.js#plugins
plugins: [ Zoom, Notes, Search, Markdown, Highlight ]
// Learn about plugins: https://revealjs.netlify.app/plugins/
plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ]
});

</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/slide-backgrounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ <h2>Same background from horizontal to vertical (3/3)</h2>
<script src="../dist/reveal.js"></script>
<script>

// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
// Full list of configuration options:
// https://revealjs.netlify.app/config/
Reveal.initialize({
center: true,

Expand Down
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@
</div>

<script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script src="plugin/notes/notes.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#plugins
// More info about initialization & config:
// - https://revealjs.netlify.app/initialization/
// - https://revealjs.netlify.app/config/
Reveal.initialize({
hash: true,

// Learn about plugins: https://revealjs.netlify.app/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 815557c

Please sign in to comment.