Text::Xslateãç´ æµãããï¼Markdownç·¨ï¼ 2011å¹´2æ17æ¥ 10:13 D | ããã°è¨äºã®URL | ã³ã¡ã³ã(0) | ãã©ãã¯ããã¯(0) ãããããText::Xslateç´ æµãããã ãã ä»æ¥Markdownã使ãããã¨æã£ã¦ã¡ãã£ã¨èããããããã ãã§çµäºããï¼ use strict; use Text::Xslate; my $xslate = Text::Xslate->new( .... module => [ 'Text::Markdown' => [ 'markdown' ] ] ); print $xslate->render_string( <<EOT, { text => $some_markdown_text ); [% text | markdown | mark_raw %] EOT ç´ æµï¼gfx å çã«ãªãæ±ããã¦ãããã 俺ãXS
{{#tags}}- {{label}}
{{/tags}}