ããã«ã®ãããã絶æçã«é ãã¦ãã¯ã¦ãª(ã°ã«ã¼ã)ã«Logãæ¸ãã¨ãã«é常ã«ã¹ãã¬ã¹ãã«ãªãããªã®ã§ãã¦ãã©ãã«ãããªãã¨æ»ã¬ãåãä¼¼ããããªæãã§ããã¼ã«ã«ã¯ã¦ãªãã¤ã¢ãªã¼ã£ã½ããã¨ããã£ã¦ãã ããæ¤ç´¢ã¨ããããªãã®ã§ãã¨ã«ãããã¬ãã¥ã¼ã ããããããããããã¨ãããã¨ã§ãã£ã¨ãæ軽ãªæãã§ãããããåã¯text-hatenaã¨ããRubyã®ã¯ã¦ãªè¨æ³ã®ãã¼ã¶ã¼ã使ã£ã¦ããããä»åã¯hparserã¨ãããã¤ã代ããã«ä½¿ã£ã¦ã¿ããã§ã以ä¸ã®ã³ã¼ãã~/bin/txt2hatenaã¨ããæãã§ä¿åãã¦å®è¡æ¨©éãä»ä¸(chmod +x)ã #!/opt/local/bin/ruby1.9 # -*- coding: utf-8 -*- require 'hparser' puts HParser::Parser.new.parse(STDIN.read).map {|e| e.to_html
{{#tags}}- {{label}}
{{/tags}}