{"image_url":null,"type":"rich","width":"100%","height":"190","blog_url":"https://goegoe.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoegoe.hatenablog.com%2Fentry%2F2023%2F01%2F06%2F135312\" title=\"markdown\u3092pdf\u5909\u63db\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8 - goegoexss\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","categories":[],"author_url":"https://blog.hatena.ne.jp/goegoexss/","url":"https://goegoe.hatenablog.com/entry/2023/01/06/135312","blog_title":"goegoexss\u2019s diary","published":"2023-01-06 13:53:12","title":"markdown\u3092pdf\u5909\u63db\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8","author_name":"goegoexss","description":"pandoc\u306e\u30b3\u30de\u30f3\u30c9\u306a\u3052\u3047\uff01\u3044\u3061\u3044\u3061\u6253\u3063\u3066\u5b9f\u884c\u3059\u308b\u306e\u3060\u308a\u3043\uff01 \u6e96\u5099 pandoc\u3092\u5165\u308c\u3066path\u3092\u901a\u3059 \u30b9\u30af\u30ea\u30d7\u30c8 \u62e1\u5f35\u5b50 \".bat\"\u3067\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b @echo off if not exist \".\\output\" mkdir output for %%m in (*.md) do ( echo @echo off&echo for %%%%f in ^(\"%%m\"^) do ^( echo if exist .\\output\\%%%%~nf.pdf del .\\output\\%%%%~nf.pdf echo pandoc -f gfm+hard_line_breaks %%\u2026"}