<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>turusuke_0</author_name>
  <author_url>https://blog.hatena.ne.jp/turusuke_0/</author_url>
  <blog_title>Webdelog</blog_title>
  <blog_url>https://www.webdelog.info/</blog_url>
  <categories>
  </categories>
  <description>dedent はテンプレートリテラルでの出力を整形してくれるライブラリです。 テンプレートリテラル記法は \n を記載せずとも改行をそのまま反映してくれるので便利ですが、開始位置に改行を加えたりインデントを揃えようとスペースを加えてしまうとそのまま出力されてしまい、見た目と出力に差が生まれて可読性が落ちてしまうことがあります。 テンプレートリテラルだけで複数行のテキストを出力 入力例 const text = ` 今日もいい天気ですね。 明日も晴れるといいですね。 水分はこまめに摂るようにしましょう。 1. list-1 2. list-2 3. list-3 `; console.log(t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.webdelog.info%2Fentry%2F2021%2F06%2F20%2F184841&quot; title=&quot;dedent を使ってテンプレートリテラルで複数行の文字列のインデントを調整する - Webdelog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-20 18:48:41</published>
  <title>dedent を使ってテンプレートリテラルで複数行の文字列のインデントを調整する</title>
  <type>rich</type>
  <url>https://www.webdelog.info/entry/2021/06/20/184841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
