defmodule MarkdownTest do use ExUnit.Case doctest Markdown test :tables do markdown = """ | J | O | | --- | --- | | S | É | """ html = Markdown.to_html(markdown, tables: true) assert html =~ ~r/
/ end end