<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syohex</author_name>
  <author_url>https://blog.hatena.ne.jp/syohex/</author_url>
  <blog_title>Shohei Yoshida's Diary</blog_title>
  <blog_url>https://syohex.hatenablog.com/</blog_url>
  <categories>
    <anon>emacs</anon>
  </categories>
  <description>github.com Emacs 29に yank-media という機能が追加されて clipboardにあるデータを各モードで自由にハンドリングできるようになった. VSCodeで markdownを書いているときに画像をペーストすると inline linkが挿入されますが、それと同じようなことができるように markdown-mode に機能を追加しました. ただし Emacsでは普通の yankでは実現できなくて, M-x yank-media という別のコマンドを使う必要があります. (clipboardの中身を見て先頭が画像だったら挙動を変えるとかの関数を自分で実装すればいけると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyohex.hatenablog.com%2Fentry%2F2023%2F11%2F04%2F234545&quot; title=&quot; markdown-modeに VSCodeっぽい画像貼り付け機能を実装した - Shohei Yoshida&amp;#39;s Diary&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/s/syohex/20231104/20231104233303.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-04 23:45:45</published>
  <title> markdown-modeに VSCodeっぽい画像貼り付け機能を実装した</title>
  <type>rich</type>
  <url>https://syohex.hatenablog.com/entry/2023/11/04/234545</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
