<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rna</author_name>
  <author_url>https://blog.hatena.ne.jp/rna/</author_url>
  <blog_title>rna fragments</blog_title>
  <blog_url>https://rna.hatenadiary.jp/</blog_url>
  <categories>
    <anon>はてな</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>天文ブログの方でフローチャート風の図を描くのに Mermaid を使ってみたのだけど、うまくいかないことがあったので回避方法をメモ。Mermaid はダイアグラムやチャートを Markdown 風の記法で記述して、JavaScript で図として描画する仕組みで、数式における MathJax に相当するもの。はてなブログの場合、数式に関しては「はてな記法」で書けば事足りるのだが、Marmaid については識別用のタグを付けたブロックに marmaid の記法で記述して、その後ろに JavaScript のコード断片をコピペしておくことで、閲覧者のブラウザ上で JavaScript を動かしてブ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frna.hatenadiary.jp%2Fentry%2F2023%2F01%2F24%2F201300&quot; title=&quot;はてなブログで mermaid を使う (2023/3/7追記あり) - rna fragments&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>2023-01-24 20:13:00</published>
  <title>はてなブログで mermaid を使う (2023/3/7追記あり)</title>
  <type>rich</type>
  <url>https://rna.hatenadiary.jp/entry/2023/01/24/201300</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
