<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hatenadiary</author_name>
  <author_url>https://blog.hatena.ne.jp/hatenadiary/</author_url>
  <blog_title>はてなダイアリー日記</blog_title>
  <blog_url>https://diary.hatenastaff.com/</blog_url>
  <categories>
  </categories>
  <description>本日、入力したコードやはてな記法をそのまま表示するスーパーpre記法の拡張を行い、ソースコードや html などのシンタックス・ハイライトを行う機能を実装しました。これまではてなグループのみでお使いいただけた機能でしたが、ご好評をいただいたことによりはてなダイアリーでも実装いたしました。シンタックス・ハイライトを行うには、ハイライトさせたいファイルタイプを、行頭の &gt;|| の2本のパイプ（ || ）の間に指定してください。例として &gt;|ruby| class Foo def bar 'baz' # return baz end end ||&lt;と記述すると class Foo def bar '…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdiary.hatenastaff.com%2Fentry%2F20061215%2F1166155734&quot; title=&quot;入力したプログラムコードを色付けするスーパーpre記法 シンタックス・ハイライトの実装について - はてなダイアリー日記&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>2006-12-15 13:08:54</published>
  <title>入力したプログラムコードを色付けするスーパーpre記法 シンタックス・ハイライトの実装について</title>
  <type>rich</type>
  <url>https://diary.hatenastaff.com/entry/20061215/1166155734</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
