Skip to content

Latest commit

 

History

History
358 lines (247 loc) · 7.05 KB

example.md

File metadata and controls

358 lines (247 loc) · 7.05 KB
title theme lineNumbers hideInToc
Slidev-theme-euricom
./
true
true

Welcome

to Slidev-theme-euricom

Your way to a better presentation

Copyright (c) 2022 Euricom nv.

layout: cover background: https://source.unsplash.com/1600x900/?nature,water hideInToc: true

Welcome

to Slidev-theme-euricom

Always better with an image


layout: section-dark background: https://source.unsplash.com/1600x900/?nature

This is a section

With sub title


This will be the colored heading

And this can be used as test below it

  • We can have a list.
  • With a few items.
    • And som others
    • Items

If you want to use a quote, you can use the > character.


layout: big-points titleRow: true

Need to make a few big points?

  • Increased font size...
  • ...and centered content
  • help stressing a few points

Navigation

Hover on the bottom-left corner to see the navigation's controls panel, learn more

Keyboard Shortcuts

Key Description
right / space next animation or slide
left / shiftspace previous animation or slide
up previous slide
down next slide

Table data

Syntax Description Test Text
Header Title Here's this
Paragraph Text And more
Other Lorem ipsum dolor sit amet, consectetur adipiscing elit

cols: 1-2

Left Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

::right::

Right Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


slideTitle: Two columns with single title titleRow: true cols: 1-2

Right Heading

This content can now be styled/positioned independent of the title, because it will be in a separate grid cell.

::right::

Left Heading

This content can now be styled/positioned independent of the title, because it will be in a separate grid cell.


Code Snippets

Use code snippets and get the highlighting directly!

<template>
  <h1>Hello World"</h1>
  <div class="message">{{ message }}</div>
</template>
<script>
  export default {
    data:() => ({
      message: 'Great to be here!',
    })
  }
</script>
<style scoped>
  .message {
    color: red;
    bg: yello
  }
</style>

Editable code

You can edit the code inline

// @ts-ignore
import { computed, unref, Ref  } from 'vue';

export function add(a: Ref<number> | number, b: number) {
  return computed(() => unref(a) + unref(b))
}

add(1, "2")

cols: 1-1 class: code-small

React Class Component

class HelloMessage extends React.Component {
  render() {
    return <div>Hello {this.props.name}</div>;
  }
}

::right::

React Function Component

const HelloMessage => ({ name }) => ( {
  render() {
    return <div>Hello {this.props.name}</div>;
  }
}

Enlarge Code Snippets

// code-xsmall
const number = 12;
console.log(number)
// code-small
const number = 12;
console.log(number)
// default
const number = 12;
console.log(number)
// code-xlarge
const number = 12;
console.log(number)

layout: quote author: Linus Borg (2021) background: '/photo4.jpeg'

Big quotes make your talk look fancy


layout: quote author: Linus Borg (2021)

Big quotes make your talk look fancy


Embedded Custom Style

block quote, hello world

Green large text
<style> .xlarge { @apply text-green-500 text-7xl mt-2 font-bold; } blockquote { code { @apply text-red-500 dark:text-teal-400; } } </style>

Images

Remote Image

local image


Keep it zen

When you realize nothing is lacking, the whole world belongs to you

---
layout: image-left
image: https://images.com/my-image.png
---

The Programming Life

How many programmers does it take to change a light bulb? None, that’s a hardware problem

---
layout: image-right
image: https://images.com/my-image.png
---


Diagrams support with mermaid

sequenceDiagram
  Test->John: Hello John, how are you?
  Note over Alice,John: A typical interaction
Loading

See more at https://mermaid-js.github.io/mermaid/#/


Icons

See https://emojipedia.org/