Skip to content

Test: Math & Embeds

1 min read

Math Test

Inline math: The equation E=mc2E = mc^2 describes mass-energy equivalence.

Display math:

01x2dx=13\int_0^1 x^2 \, dx = \frac{1}{3}

Embed Test

hello_world.rb
class HelloWorld
   def initialize(name)
      @name = name.capitalize
   end
   def sayHi
      puts "Hello #{@name}!"
   end
end

hello = HelloWorld.new("World")
hello.sayHi
Share

You might also like

Stay in the loop

Get notified when I publish new posts. No spam, unsubscribe anytime.

Your email is stored by ConvertKit. Privacy policy

Comments