Skip to content
Corex

Code Anatomy

Syntax highlighting, inline and block, optional clipboard, and other languages.

Inline

conn.request_path

Block

    defmodule Greeter do  def hi, do: :ok end
  

Block with clipboard

    def hello(name) do
  "Hello, #{name}!"
end

  

JavaScript

    export function greet(name) {
  return `Hello, ${name}!`;
}

  

From file

    defmodule Hello do
  def world do
    "Hello, World!"
  end
end