View Source Notionex.Renderer.HTMLRenderer (notionex v0.3.1)
Summary
Functions
Renders the paragraph block into HTML.
Functions
Renders the paragraph block into HTML.
Example
iex> Notionex.Renderer.HTMLRenderer.render_block(%Notionex.Object.Block{object: "block", type: "paragraph", paragraph: %{"color" => "default","rich_text" => [%{"annotations" => %{"bold" => false,"code" => false,"color" => "default","italic" => false,"strikethrough" => false,"underline" => false},"href" => nil,"plain_text" => "Hello world!","text" => %{"content" => "Hello world!", "link" => nil},"type" => "text"}]}}, %{})
"<p>Hello world!</p>"