<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>Ruby&#12391;Markdown&#35352;&#27861;&#12392;&#12356;&#12358;&#12392;&#12289;BlueCloth&#12364;&#26377;&#21517;&#12394;&#12398;&#12391;&#12399;&#12394;&#12356;&#12363;&#12392;&#24605;&#12356;&#12414;&#12377;&#12364;&#12289;rdiscount&#12392;rpeg_markdown&#12392;&#12356;&#12358;&#26032;&#12375;&#12356;&#12521;&#12452;&#12502;&#12521;&#12522;&#12364;
Daring Fireball&#27663;&#12398;&#12371;&#12385;&#12425;&#12398;&#35352;&#20107;&#12391;&#32057;&#20171;&#12373;&#12428;&#12390;&#12356;&#12414;&#12375;&#12383;&#12290;

[**Better Markdown Libraries for Ruby: RDiscount and rpeg-markdown**](http://mac.blogdig.net/archives/articles/August2008/17/Better_Markdown_Libraries_for_Ruby__RDiscount_and_rpeg_markdown.html)

&gt;Ryan Tomayko has solved this with two new Ruby extensions that wrap extremely fast (and accurate) C libraries for Markdown: David Loren Parsons&#8217;s Discount and Jon MacFarleane&#8217;s peg-markdown.

&#26089;&#36895;
[Formula](http://formula.s21g.com/)
&#12391;&#20351;&#12387;&#12390;&#12415;&#12424;&#12358;&#12392;&#26908;&#35388;&#12375;&#12390;&#12356;&#12383;&#12398;&#12391;&#12377;&#12364;&#12289;&#19978;&#36848;&#12398;&#20108;&#12388;&#12398;&#12521;&#12452;&#12502;&#12521;&#12522;&#12395;&#12399;&#12289;
&#12456;&#12473;&#12465;&#12540;&#12503;&#12398;&#20181;&#26041;&#12391;MARKDOWN&#35352;&#27861;&#12398;&#35299;&#37320;&#12395;&#20197;&#19979;&#12398;&#12424;&#12358;&#12394;&#36949;&#12356;&#12364;&#12354;&#12427;&#12424;&#12358;&#12391;&#12377;&#12290;

ruby&gt;&gt;
source = &quot;[test](http://foo.com/?x%3Dx%2B5%2B2y)&quot;
RDiscount.new(source).to_html
#=&gt; &quot;&lt;p&gt;&lt;a href=\&quot;http://foo.com/?x%253Dx%252B5%252B2y\&quot;&gt;test&lt;/a&gt;&lt;/p&gt;\n&quot;
Markdown.new(source).to_html # rpeg-markdown
#=&gt; &quot;\n\n&lt;p&gt;&lt;a href=\&quot;http://foo.com/?x%3Dx%2B5%2B2y\&quot;&gt;test&lt;/a&gt;&lt;/p&gt;&quot;
&lt;&lt;--

RDiscount&#12398;&#26041;&#12399;&#12289;&#12456;&#12473;&#12465;&#12540;&#12503;&#28168;&#12415;&#12398;Query String&#12434;&#12418;&#12358;&#19968;&#22238;&#12456;&#12473;&#12465;&#12540;&#12503;&#12375;&#12390;&#12375;&#12414;&#12387;&#12390;&#12356;&#12427;&#12424;&#12358;&#12391;&#12377;&#12290;</body>
  <cached-tag-list>memo ruby markdown</cached-tag-list>
  <comments-count type="integer">2</comments-count>
  <created-at type="datetime">2008-08-18T23:35:15+00:00</created-at>
  <daily-archive-id type="integer">718</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">792</id>
  <monthly-archive-id type="integer">82</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink nil="true"></permalink>
  <published-at type="datetime">2008-08-18T23:23:00+00:00</published-at>
  <secret>39e0de2e-27ab-4b17-880d-0053a39ae9eb</secret>
  <title>rdiscount&#12392;rpeg_markdown</title>
  <updated-at type="datetime">2008-08-18T23:35:15+00:00</updated-at>
  <user-id type="integer">1</user-id>
</article>
