Skip to content

Latest commit

 

History

History
executable file
·
284 lines (183 loc) · 3.74 KB

example.md

File metadata and controls

executable file
·
284 lines (183 loc) · 3.74 KB
Error in user YAML: Alias parsing is not enabled.
---
# Metadata
title: &title New Codestar Marp theme
author: Hamza Haiken
header: *title  # Header set to the same value as the title, can be changed if needed
footer: Example slides

# Appearance
# Uncomment for dark mode
# class: invert
transition: wipe

# Don't change
marp: true
theme: codestar
paginate: true
math: mathjax
---

Introducing Marp slides

A new Codestar theme for Marp


Scan to follow along or keep the link for later:

w:256px

Link to the slides


this is what title
cards look like

Optional sub-title


bg left:33%

A slide with a split background


bg right:33%

It can also go to the right


bg


bg opacity:.20

When showing pictures:

  • Show it in full screen, talk over it a bit
  • Then on the next slide
    • Show the same picture again but fadeed
    • Put your talking points
  • It makes for a nice effect and people can still see what you're talking about

bg vertical bg bg


Bullet lists


Here are some bullets:

  • One
    • A
    • B
  • Two
  • Three

And numbered:

  1. Foo
  2. Bar
  3. Baz

Fragmented list


Here are some incremental bullets:

  • One
  • Two
  • Three

And numbered:

  1. Foo
  2. Bar
  3. Baz

formatting options


bg opacity:.1

bold! italic! emoji codes: 📡 🦦

link: https://github.com/code-star

Someone once said something:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

  1. First item
  2. Second item

And of course,
some code

With a different transition


Some code

# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!"
  end
end

g = Greeter.new("world")
g.salute

Double

// The Greeter class
case class Greeter(name: String) {
  private val capitalizedName =
    name.capitalize

  def salute(): Unit = {
    println(s"Hello $capitalizedName!")
  }
}

val g = Greeter("world")
g.salute()

code!

# The Greeter class
class Greeter:
    def __init__(self, name):
        self.name = name.capitalize()

    def salute(self):
        print(f"Hello {self.name}!")

g = Greeter("world")
g.salute()

Other stuff


Inline math: $ax^2+bc+c$.

Math block:

$$ I_{xx}=\int\int_Ry^2f(x,y)\cdot{}dydx $$

Wow.

$$ f(x) = \int_{-\infty}^\infty \hat f(\xi),e^{2 \pi i \xi x} ,d\xi $$


Basic:

foo bar
baz bim

Alignments:

Syntax Description Test Text
Header Title Here's this
Paragraph Text And more

Questions time