Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Playground

playground.livemd

Playground

Mix.install([:req, :mdex])

Section

defmodule Playground do
  @markdown Req.get!("https://raw.githubusercontent.com/elixir-lang/elixir/main/README.md").body

  def run do
    MDEx.to_html(@markdown,
      render: [unsafe_: true],
      syntax_highlight: [formatter: {:html_inline, theme: "github_light"}]
    )
  end
end

Playground.run()
|> IO.puts()