Markdown to Inao
tl;dr: markdown2inao.pl ã¯ä»å¾ https://github.com/naoya/md2inao.pl ã§ç®¡çãã¦ãããããããããªãã·ã£ã¹ãWeb ç http://md2inao.bloghackers.net/ ãç¨æãããã
"inao"è¨æ³
æè¡è©è«è ã® WEB+DB PRESS ã«å稿ãæ¸ãããã¨ã®ãã人ã ã«ã¯å¯ãã«ç¥ããã¦ãã "inao" ã¨å¼ã°ãã¦ããããã¹ããã©ã¼ããããããã¾ãã
â è¦åºã ããããæ¬æ ã»ãªã¹ãï¼ ã»ãªã¹ãï¼
ãããªæãã®ãããç¨åº¦ãã¥ã¼ãã³ãªã¼ããã«ãªå ¨è§æåã主ä½ã¨ãããã¼ã¯ã¢ãããWEB+DB PRESSç·¨éé¨ã§ã¯ãã®è¨æ³ãã InDesign 㧠DTP ã«å¤æããã¨ãããããªãã¨ãé·ãããã£ã¦ããããããã¤ã¾ãããã®ãã©ã¼ãããã§æ¸ãã¦ããã¨ããããèè æ ¡æ£ç¨ã® PDF ã«ãªãã
markdown2inao.pl
ããã©ãå ¨è§ãã¼ã¹ã®ãã©ã¼ãããã¯ãã¾ããããããã¼ãã¬ã³ããªã¼ã§ã¯ãªãæããªã®ã§ãMarkdown ã§æ¸ãããã¨ãã人ãã¡ã markdown2inao.pl ã¨ããååã®ã¹ã¯ãªãã㧠Markdown ãã inao ãã©ã¼ãããã«å¤æãã¦ãããããã gist ã«ç»é²ããã¦ãã¦ãfork ãããããªãã ãæ¹ã ã§ä½¿ããã¦ããããã§ãã
ãªã㦠blog ã¾ã§ãã£ãã
ãã®ã¹ã¯ãªãããéãã¨
# Hello, World * list 1 * list 2
ããã
â Hello, World ã»list 1 ã»list 2
ãããªãã*1
ã¡ãªã¿ã« @yohei ããã¯æ¼¢ãªã®ã§ãWebãæ¯ããæè¡ããå ¨ç·¨ inao ç´æã¡ã§æ¸ãã¦ããããªï½¥ï½¥ï½¥ã
github/naoya/md2inao.pl
èªåã¯éå»ã® WEB+DB åãã®å稿ã«ã¯ãç¹ã«æ±ºã¾ã£ãè¨æ³ã¯ä½¿ã£ã¦ããããç·¨éããããè¦ã¦ãããè¦åºãã§ããããªã¹ãã£ã¦ãããç¨åº¦ã®ç®å°ãã¤ãã¦éã£ã¦ãããã»ã¨ãã©ã®äººã¯ããããããããããæ¹ããã¦ãã¦ãå¾æ¥ç·¨éè ãããæ㧠inao ãã©ã¼ãããã¸ã®å¤æãè¡ã£ã¦ããã®ã§ã¯ãªããã¨æããã¾ãã
ãã¦ãã¡ãã£ã¨ä»åã¾ã WEB+DB PRESS ã«ãä¸è©±ã«ãªãããã ããã¾ãä»å稿æ¸ããªã git ã§ç®¡çãããã Markdown ãè¯ããã㨠markdown2inao.pl ãæåãããã®ã®ãèªåã使ã£ã Markdown ã®è¨æ³ã®ä¸é¨ããµãã¼ããã¦ããªãã£ãããªãã§æ¹ä¿®ãããã¨æã£ããã©ãã¹ãããªãã
ãã®å ã®ãã¨ãèããã¨ãã®ã¾ã¾ã ã¨ç ´ç¶»ãããªã¨æã£ãã®ã§ã以ä¸ã« md2inao ã¨ãã¦ã¬ãã¸ããªãä½ãã¾ããã
ã§ããã¹ãããããããã« Text::Md2Inao ã¢ã¸ã¥ã¼ã«ã«ãªãã¡ã¯ã¿ãªã³ã°ãã¦ããã¹ãã追å ããã§ãããã件ã®æªãµãã¼ãè¨æ³ã«ã対å¿æ¸ã¿ãæ¡ã®å®ããã¹ãæ¸ããªããåä½ã試ãã¦ããã¨ãããã°ãçºè¦ããã®ã§ãããä¿®æ£ãã¦ãããã
Webç md2inao
ããã§ãã£ããã¨æã£ã¦ç·¨éããã«è©¦ãã¦ã¿ã¦ããããã¨ãããã使ã£ã¦ãã¢ã¸ã¥ã¼ã«ã®é¢ä¿ã§ãã¾ãå®è¡ã§ããªãããããããããã®ã¯ãå æ¹ã®å®è¡ç°å¢ã¯ ActivePerl ã ã£ããã¨ã³ã¸ãã¢ã¯ã¨ããããç·¨éããã®ãã¨ãèããã¨ç°å¢é¸ã°ãå®è¡ã§ããã»ãããããã¨æã£ã¦ Web çãä½ãã¾ããã
Text::Md2Inao ã®ææ°çããããã¤æ¸ã¿ã§ãã
ä»å¾ markdown2inao.pl ãããã md2inao.pl ããå©ç¨ã®æ¹ã§ä½ãããã®ä¿®æ£ãå¿ è¦ã«ãªã£ãèè ã®çæ§æ¹ã¯ issues ã¸ã®ç»é²ããã㯠pull request ã§ãé¡ããããã¾ãã
ãã¼ããããªããã§ã ãã¶ãããã§ãã Markdown ãã inao ãã©ã¼ãããã¸ã®å¤æã§ããããªãããªã "inao" ãªã®ãã¨ããã¨ç·¨éããã®ååãã稲尾 (ã¤ããª)ãã ããã§ããä¸çã¸ã¯ã°ããã¤ããª!
åèæç®
- [1] @inao, md2inao.plについて, github, 2013
*1:ä½ãã©ããªããã®è©³ç´°ã¯ https://github.com/naoya/md2inao.pl/blob/master/t/05_basic_synatx.t ã®ãã¹ããè¦ãã¨ãããã¨æãã¾ã