Hello!

This this is default example of my slides.

  • In order to go to the next slide click the link “Next slide(j, l)” or press “j” or “l”
  • In order to go to the previous slide click the link “Previous slide(h, k)” or press “h” or “k”

This is h1

This is h2

This is h3

This is h4

This is h5
This is h6

This is p.

This is p with marked word.

Table

Head 1 Head 2 Head 3
Body 1.1 Body 1.2 Body 1.3
Body 2.1 Body 2.2 Body 2.3
Body 3.1 Body 3.2 Body 3.3

Tweet

Image

Code

class User
  def initialize(first_name:, last_name:, birthday:)
    @first_name = first_name
    @last_name = last_name
    @birthday = birthday
  end

  attr_accessor :first_name, :last_name, :birthday
end
class UserDecorator < SimpleDelegator
  def full_name
    "#{first_name} #{last_name}"
  end

  def age
    # 60 * 60 * 24 * 365.25 is 31557600
    # 31557600 is one year in seconds
    ((Time.now - birthday) / 31557600).floor
  end
end

Alignment

Left

Left

Center

Center

Right

Right

Thanks!