GithubHelp home page GithubHelp logo

iris2jane / obsidian-advanced-slides Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mszturc/obsidian-advanced-slides

0.0 1.0 0.0 460 KB

Create markdown-based reveal.js presentations in Obsidian

JavaScript 11.84% TypeScript 80.60% HTML 6.94% CSS 0.63%

obsidian-advanced-slides's Introduction

Advanced Slides for Obsidian

Advanced Slides is a Plugin that lets you create markdown-based reveal.js presentations in Obsidian.

Demo

demo

Features

Horizontal Slides

To create a horizontal slide use three dashes surrounded by two blank lines

# First slide

---

# Second Slide

Verical Slide

To create vertical slides use two dashes surrounded by two blank lines

# First slide

--

# Vertical Slide

Custom Themes

To create a custom themed slide deck simply add a theme property in the frontmatter section of your slides.

---
theme: night

---

Available Themes

By default advanced slides comes with a varity of diffrent themes:

  • black (default)
  • white
  • league
  • beige
  • sky
  • night
  • serif
  • simple
  • solarized
  • blood
  • moon
  • css/mattropolis.css

Custom Themes (local)

You can place custom themes in the plugin directory and load them from there:

---
theme: css/mattropolis.css

---

Custom Themes (from the Internet)

You can load custom themes directly from the Internet:

---
theme: https://revealjs-themes.dzello.com/css/theme/robot-lung.css

---

Available Highlight Themes

All you have learned so far about custom themes could be applied to highlight themes as well:

---
highlightTheme: monokai

---

Reveal Highlight Themes

By default advanced slides comes with a varity of diffrent highlight themes:

  • zenburn (default)
  • monokai
  • css/vs2015.css

Configure Reveal.js through frontmatter

You can pass reveal options through frontmatter.

---
slideNumber: true
---

You can find an overview of all possible parameters here


Embed your Notes into Slides

You can use information from your notes in your presentation

# My Slide

![[MyFirstNote]]

Embed parts of your Notes

You can embed sections from your notes into your presentation

# My Slide

![[MyFirstNote#My Title]]

Element Annotations

You can pass style or class properties for an element by annotating it:

## Header with red background color <!-- .element: class="red" -->

Text without background color

Text with blue background color <!-- .element: style="background-color: blue;" -->

Slide Annotations

You can pass style or class properties for the whole slide by annotating it:

<!-- .slide: style="background-color: coral;" -->

# Slide with coral background color

---

<!-- .slide: style="background-color: green;" -->

# Slide with green background color

Block Comments

You can use block comments to group parts of your slide.

::: block

#### Header
_and_
Paragraph content
*in same block*

:::

By annotating the block all items inside this block gets the properties of the annotation:

no color

::: block <!-- .element: style="background-color: red;" -->

everything inside this block has red background color

::: block <!-- .element: style="background-color: blue;" -->

blue

:::

red

:::

no color

Inline Styling

you may define css styles inside your markdown:

<style>
	.with-border{
		border: 1px solid red;
	}
</style>

To use the defined style simply annotate an element with it

styled text <!-- .element: class="with-border" -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.