From 9c6d747aca3ac1eb5c5a0d3f437b2edc851fcfd7 Mon Sep 17 00:00:00 2001 From: James Baldwin Date: Wed, 14 Apr 2021 15:02:47 -0400 Subject: [PATCH] Remove extra word in comment (#185) --- lib/livebook/live_markdown.ex | 4 ++-- lib/livebook_web/live/session_live/cell_component.ex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/livebook/live_markdown.ex b/lib/livebook/live_markdown.ex index 400262c73..eca2479fe 100644 --- a/lib/livebook/live_markdown.ex +++ b/lib/livebook/live_markdown.ex @@ -16,9 +16,9 @@ defmodule Livebook.LiveMarkdown do # 3. Every Elixir code block maps to an Elixir cell. # 4. Adjacent regular Markdown text maps to a Markdown cell. # 5. Comments of the form `` hold metadata - # any apply to the element they directly precede (e.g. an Elixir cell). + # and apply to the element they directly precede (e.g. an Elixir cell). # Such comments may appear anywhere, for instance `` - # forces the next Markdown block to be treated as prat of Markdown cell (even if it's Elixir code block). + # forces the next Markdown block to be treated as part of Markdown cell (even if it's Elixir code block). # # ## Example # diff --git a/lib/livebook_web/live/session_live/cell_component.ex b/lib/livebook_web/live/session_live/cell_component.ex index e77e88769..2364984d9 100644 --- a/lib/livebook_web/live/session_live/cell_component.ex +++ b/lib/livebook_web/live/session_live/cell_component.ex @@ -165,7 +165,7 @@ defmodule LivebookWeb.SessionLive.CellComponent do # The whole page has to load and then hooks are mounded. # There may be a tiny delay before the markdown is rendered - # or and editors are mounted, so show neat placeholders immediately. + # or editors are mounted, so show neat placeholders immediately. defp render_markdown_content_placeholder(empty: true) do assigns = %{}