<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lm_ymap</author_name>
  <author_url>https://blog.hatena.ne.jp/lm_ymap/</author_url>
  <blog_title>Link and Motivation Developers' Blog</blog_title>
  <blog_url>https://link-and-motivation.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに バックエンドエンジニアのやまぴーです。 pryというツールをマネしながら対話型デバッグツールを作成していた 前回の記事の続きになります。 前回までの様子 シンタックスハイライト どうも味気ない印象なので、見栄えを良くしていきたいです。 エスケープシーケンスで色やスタイルを付与したいと思います。 試行錯誤の末、テストが最終的にこんな感じになりました。 { '42' =&gt; &quot;\e[1;34m42&quot;, '6.7' =&gt; &quot;\e[1;35m6.7&quot;, '&quot;string&quot;' =&gt; &quot;\e[31m\&quot;\e[31mstring\e[31m\&quot;&quot;, 'class' =&gt; &quot;\e[32mclass&quot;,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flink-and-motivation.hatenablog.com%2Fentry%2F2022%2F07%2F01%2F190913&quot; title=&quot;続・作って理解するpry（Ripperでシンタックスハイライト） - Link and Motivation Developers&amp;#39; Blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/l/lm_ymap/20220701/20220701185255.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-01 19:09:13</published>
  <title>続・作って理解するpry（Ripperでシンタックスハイライト）</title>
  <type>rich</type>
  <url>https://link-and-motivation.hatenablog.com/entry/2022/07/01/190913</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
