summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locales/da.json104
-rw-r--r--public/docs/slide-example.md218
-rw-r--r--webpackBaseConfig.js3
3 files changed, 307 insertions, 18 deletions
diff --git a/locales/da.json b/locales/da.json
new file mode 100644
index 00000000..03c49ce5
--- /dev/null
+++ b/locales/da.json
@@ -0,0 +1,104 @@
+{
+ "Collaborative markdown notes": "Kollaborative markdown-noter",
+ "Realtime collaborative markdown notes on all platforms.": "Kollaborative markdown-noter i realtid på alle platforme.",
+ "Best way to write and share your knowledge in markdown.": "Bedste måde at skrive og dele din viden i markdown.",
+ "Intro": "Intro",
+ "History": "Historik",
+ "New guest note": "Ny gæstenote",
+ "Collaborate with URL": "Samarbejd via URL",
+ "Support charts and MathJax": "Mulighed for diagrammer og MathJax",
+ "Support slide mode": "Mulighed for præsentationer",
+ "Sign In": "Log Ind",
+ "Below is the history from browser": "Forneden findes historikken fra browseren",
+ "Welcome!": "Velkommen!",
+ "New note": "Ny note",
+ "or": "eller",
+ "Sign Out": " Log Ud",
+ "Explore all features": "Udforsk alle features",
+ "Select tags...": "Vælg tags...",
+ "Search keyword...": "Søg nøgleord...",
+ "Sort by title": "Sortér titler",
+ "Title": "Titel",
+ "Sort by time": "Sortér kronologisk",
+ "Time": "Tid",
+ "Export history": "Eksportér historik",
+ "Import history": "Importér historik",
+ "Clear history": "Ryd hsitorik",
+ "Refresh history": "Genindlæs historik",
+ "No history": "Ingen historik",
+ "Import from browser": "Importér fra browser",
+ "Releases": "Releases",
+ "Are you sure?": "Er du sikker?",
+ "Cancel": "Afbryd",
+ "Yes, do it!": "Ja, gør det!",
+ "Choose method": "Vælg metode",
+ "Sign in via %s": "Log ind med %s",
+ "New": "Ny",
+ "Publish": "Publicér",
+ "Extra": "Ekstra",
+ "Revision": "Revision",
+ "Slide Mode": "Præsentationstilstand",
+ "Export": "Eksportér",
+ "Import": "Importér",
+ "Clipboard": "Udklipsholder",
+ "Download": "Download",
+ "Raw HTML": "Rå HTML",
+ "Edit": "Redigér",
+ "View": "Vis",
+ "Both": "Begge",
+ "Help": "Hjælp",
+ "Upload Image": "Upload billede",
+ "Menu": "Menu",
+ "This page need refresh": "Denne side skal genindlæses",
+ "You have an incompatible client version.": "Din klientversion er inkompatibel.",
+ "Refresh to update.": "Genindlæs for at opdatere.",
+ "New version available!": "Ny version tilgængelig!",
+ "See releases notes here": "Se release notes her",
+ "Refresh to enjoy new features.": "Genindlæs for at anvende ny funktionalitet.",
+ "Your user state has changed.": "Din brugerstatus er ændret.",
+ "Refresh to load new user state.": "Genindlæs for at anvende ny brugerstatus.",
+ "Refresh": "Genindlæs",
+ "Contacts": "Kontakter",
+ "Report an issue": "Rapportér en fejl",
+ "Send us email": "Send os en email",
+ "Documents": "Dokumenter",
+ "Features": "Funktionalitet",
+ "YAML Metadata": "YAML Metadata",
+ "Slide Example": "Præsentationseksempel",
+ "Cheatsheet": "Snydeark",
+ "Example": "Eksempel",
+ "Syntax": "Syntaks",
+ "Header": "Overskrift",
+ "Unordered List": "Uordnet Liste",
+ "Ordered List": "Ordnet Liste",
+ "Todo List": "Tjekliste",
+ "Blockquote": "Blokcitat",
+ "Bold font": "Fed skrift",
+ "Italics font": "Kursiv skrift",
+ "Strikethrough": "Gennemstregning",
+ "Inserted text": "Indsat tekst",
+ "Marked text": "Markeret tekst",
+ "Link": "Link",
+ "Image": "Billede",
+ "Code": "Kode",
+ "Externals": "Eksterne",
+ "This is a alert area.": "Dette er et alarmområde.",
+ "Revert": "Fortryd ændringer",
+ "Import from clipboard": "Importér fra udklipsholder",
+ "Paste your markdown or webpage here...": "Indsæt din markdown eller hjemmeside her...",
+ "Clear": "Ryd",
+ "This note is locked": "Denne note er låst",
+ "Sorry, only owner can edit this note.": "Beklager, men kun ejeren kan redigere denne note.",
+ "OK": "Okay",
+ "Reach the limit": "Nå grænsen",
+ "Sorry, you've reached the max length this note can be.": "Beklager, du har nået grænsen for den maksimale længde denne note må være.",
+ "Please reduce the content or divide it to more notes, thank you!": "Vær venlig at begrænse indholdets mængde eller opdel det i flere noter, tak!",
+ "Import from Gist": "Importér fra Gist",
+ "Paste your gist url here...": "Indsæt din gist-url her...",
+ "Import from Snippet": "Importér fra Snippet",
+ "Select From Available Projects": "Vælg fra tilgængelige projekter",
+ "Select From Available Snippets": "Vælg fra tilgængelige Snippets",
+ "OR": "ELLER",
+ "Export to Snippet": "Eksportér til Snippet",
+ "Select Visibility Level": "Vælg synlighedsniveau"
+}
diff --git a/public/docs/slide-example.md b/public/docs/slide-example.md
index 6249477f..e2e024b1 100644
--- a/public/docs/slide-example.md
+++ b/public/docs/slide-example.md
@@ -1,5 +1,10 @@
-Slide example
-===
+---
+slideOptions:
+ transition: slide
+---
+
+# Slide example
+
This feature still in beta, may have some issues.
For details please visit:
@@ -17,42 +22,80 @@ Is the divider of slides
----
-### First branch of first slide
+### First branch of first the slide
`----`
Is the divider of branches
+Use the _Space_ key to navigate through all slides.
+
----
-### Second branch of first slide
+### Second branch of first the slide
+
+Nested slides are useful for adding additional detail underneath a high-level horizontal slide.
+
+---
+
+## Point of View
+
+Press **ESC** to enter the slide overview.
+
+---
+
+## Touch Optimized
+
+Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
+
+---
+
+## Fragments
`<!-- .element: class="fragment" data-fragment-index="1" -->`
Is the fragment syntax
-- Item 1<!-- .element: class="fragment" data-fragment-index="1" -->
-- Item 2<!-- .element: class="fragment" data-fragment-index="2" -->
+Hit the next arrow...
+
+... to step through ...
+
+<span>... a<!-- .element: class="fragment" data-fragment-index="1" --></span> <span>fragmented<!-- .element: class="fragment" data-fragment-index="2" --></span> <span>slide.<!-- .element: class="fragment" data-fragment-index="3" --></span>
+
+Note:
+ This slide has fragments which are also stepped through in the notes window.
---
-## Second slide
+## Fragment Styles
-<!-- .slide: data-background="#1A237E" -->
+There are different types of fragments, like:
-`<!-- .slide: data-background="#1A237E" -->`
+grow
-Is the background syntax
+shrink
+
+fade-out
+
+fade-up (also down, left and right!)
+
+current-visible
+
+Highlight <span><!-- .element: class="fragment highlight-red" -->red</span> <span><!-- .element: class="fragment highlight-blue" -->blue</span> <span><!-- .element: class="fragment highlight-green"-->green</span>
---
<!-- .slide: data-transition="zoom" -->
+## Transition Styles
+Different background transitions are available via the transition option. This one's called "zoom".
+
`<!-- .slide: data-transition="zoom" -->`
Is the transition syntax
-you can use:
+You can use:
+
none/fade/slide/convex/concave/zoom
---
@@ -61,10 +104,12 @@ none/fade/slide/convex/concave/zoom
`<!-- .slide: data-transition="fade-in convex-out" -->`
-Also can set different in/out transition
+Also, you can set different in/out transition
+
+You can use:
+
+none/fade/slide/convex/concave/zoom
-you can use:
-none/fade/slide/convex/concave/zoom
postfix with `-in` or `-out`
---
@@ -75,9 +120,150 @@ postfix with `-in` or `-out`
Custom the transition speed!
-you can use:
+You can use:
+
default/fast/slow
---
-# The End \ No newline at end of file
+## Themes
+
+reveal.js comes with a few themes built in:
+
+Black (default) - White - League - Sky - Beige - Simple
+
+Serif - Blood - Night - Moon - Solarized
+
+It can be set in YAML slideOptions
+
+---
+
+<!-- .slide: data-background="#1A237E" -->
+
+`<!-- .slide: data-background="#1A237E" -->`
+
+Is the background syntax
+
+---
+
+<!-- .slide: data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-color="#005" -->
+
+<div style="color: #fff;">
+
+## Image Backgrounds
+
+`<!-- .slide: data-background="image.png"-->`
+
+</div>
+
+----
+
+<!-- .slide: data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px" data-background-color="#005" -->
+
+<div style="color: #fff;">
+
+## Tiled Backgrounds
+
+`<!-- .slide: data-background="image.png" data-background-repeat="repeat" data-background-size="100px" -->`
+
+</div>
+
+----
+
+<!-- .slide: data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-color="#000000" -->
+
+<div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
+
+## Video Backgrounds
+
+`<!-- .slide: data-background-video="video.mp4,video.webm" -->`
+
+</div>
+
+----
+
+<!-- .slide: data-background="http://i.giphy.com/90F8aUepslB84.gif" -->
+
+## ... and GIFs!
+
+---
+
+## Pretty Code
+
+``` javascript
+function linkify( selector ) {
+ if( supports3DTransforms ) {
+
+ const nodes = document.querySelectorAll( selector );
+
+ for( const i = 0, len = nodes.length; i < len; i++ ) {
+ var node = nodes[i];
+
+ if( !node.className ) {
+ node.className += ' roll';
+ }
+ }
+ }
+}
+```
+Code syntax highlighting courtesy of [highlight.js](http://softwaremaniacs.org/soft/highlight/en/description/).
+
+---
+
+## Marvelous List
+
+- No order here
+- Or here
+- Or here
+- Or here
+
+---
+
+## Fantastic Ordered List
+
+1. One is smaller than...
+2. Two is smaller than...
+3. Three!
+
+---
+
+## Tabular Tables
+
+| Item | Value | Quantity |
+| ---- | ----- | -------- |
+| Apples | $1 | 7 |
+| Lemonade | $2 | 18 |
+| Bread | $3 | 2 |
+
+---
+
+## Clever Quotes
+
+> “For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.”
+
+---
+
+## Intergalactic Interconnections
+
+You can link between slides internally, [like this](#/1/3).
+
+---
+
+## Speaker
+
+There's a [speaker view](https://github.com/hakimel/reveal.js#speaker-notes). It includes a timer, preview of the upcoming slide as well as your speaker notes.
+
+Press the _S_ key to try it out.
+
+Note:
+ Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit `s` on your keyboard).
+
+---
+
+## Take a Moment
+
+Press `B` or `.` on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen.
+
+---
+
+# The End
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js
index 36a49f25..41a63e7d 100644
--- a/webpackBaseConfig.js
+++ b/webpackBaseConfig.js
@@ -381,7 +381,6 @@ module.exports = {
externals: {
'viz.js': 'Viz',
'socket.io-client': 'io',
- 'lodash': '_',
'jquery': '$',
'moment': 'moment',
'handlebars': 'Handlebars',
@@ -408,7 +407,7 @@ module.exports = {
loader: ExtractTextPlugin.extract('style-loader', 'less-loader')
}, {
test: require.resolve('js-sequence-diagrams'),
- loader: 'imports?Raphael=raphael'
+ loader: 'imports?_=lodash&Raphael=raphael'
}, {
test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
loader: 'file'