{@note.slug}

<.link :for={tag <- @note.tags} navigate={~p"/notes/#{tag}"} class="link"> {tag}
<.note_content note={@note} />

{gettext("Backlinked by:")}

<.link :for={backlink <- @note_backlinks} class="m-1 hover:underline" patch={~p"/note/#{backlink}"} > {gettext("[%{slug}]", slug: backlink.slug)} <.link :for={backlink <- @context_backlinks} class="m-1 hover:underline" patch={~p"/context/#{backlink}"} > {gettext("[[%{slug}]]", slug: backlink.slug)} <.link :for={backlink <- @pipeline_backlinks} class="m-1 hover:underline" patch={~p"/pipeline/#{backlink}"} > {gettext("[[[%{slug}]]]", slug: backlink.slug)}

{gettext("Visibility: %{visibility}", visibility: @note.visibility)}

<.link :if={@current_user} class="btn btn-primary" patch={~p"/note/#{@note}/edit"}> {dgettext("actions", "edit")}
<.modal :if={@live_action == :edit} return_to={~p"/note/#{@note}"}> <.live_component module={MemexWeb.NoteLive.FormComponent} id={@note.id} current_user={@current_user} title={@page_title} action={@live_action} note={@note} return_to={~p"/note/#{@note}"} />