¥È¥Ã¥×   ÊÔ½¸ º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS

µ­Ë¡/HTML(XML)/Jade ¤ÎÊѹ¹ÅÀ


Jade¤ò»ÈÍѤ¹¤ë¤ÈHTML¤äXML¤ò´Ê·é¤Ëµ­½Ò¤Ç¤­¤Þ¤¹¡£¸Ä¿ÍŪ¤Ë¤Ï[[Titanium Mobile]]¤Çviews¥Õ¥©¥ë¥ÀÆâ¤Îxml¥Õ¥¡¥¤¥ë¤òµ­½Ò¤¹¤ë¤È¤­¤Ë¤è¤¯ÍøÍѤ·¤Æ¤¤¤Þ¤¹¡ÊWindow¤ËButton¤äLabel¤Ê¤É¤òÇÛÃÖ¤¹¤ë¤È¤­¤Ë»ÈÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤Ç¤¹¡Ë¡£



*HTML(XML)¤ÈJade¤òÁÐÊý¸þ¤ËÊÑ´¹¤Ç¤­¤ëWeb¥µ¡¼¥Ó¥¹
-[[html2jade.org - HTML to Jade Online Realtime Converter>http://html2jade.org/]]

È÷¹Í
-ÆþÎϤ¹¤ë¤È¤­¤Î¥¤¥ó¥Ç¥ó¥È¤Ï¥¿¥Ö¤Ç¤â¥¹¥Ú¡¼¥¹¤Ç¤âOK¤Ç¤¹¡£
-·ë²Ì¤Ï¤É¤Á¤é¤â¥¹¥Ú¡¼¥¹£²¤Ä¶èÀÚ¤ê¤È¤Ê¤ê¤Þ¤¹
-HTML -> Jade¤Ç¤Ï¥¿¥°Ì¾¤¬¤¹¤Ù¤Æ¾®Ê¸»ú¤ËÊÑ´¹¤µ¤ì¤Þ¤¹



*Jadeµ­½ÒÊýË¡

**XMLÎã
#pre{{
<!-- comment1 -->
<Alloy>
	<Window>
		<Label id="lbl" attr1="a1" attr2="a2" class="c1 c2">This is label.</Label>
		<!-- comment2 -->
	</Window>
</Alloy>
}}

**Jadeµ­½ÒÎã
#pre{{
// comment1 
Alloy
	Window
		Label#lbl.c1.c2(attr1='a1', attr2='a2') This is label.
		// comment2 
}}

**¥Ý¥¤¥ó¥È
-¥¤¥ó¥Ç¥ó¥È¤ò»ÈÍѤ·¡¢ÊĤ¸¥¿¥°¤Ï»ÈÍѤ·¤Þ¤»¤ó ... ¥¤¥ó¥Ç¥ó¥È¤ÏÅý°ì¤µ¤ì¤Æ¤¤¤ì¤Ð¥¿¥Ö¤Ç¤â¥¹¥Ú¡¼¥¹¤Ç¤âOK
-id, class¤ÏCSS¤ÈƱÍͤε­½ÒÊýË¡¤Ç¤¹
-°À­¤Ï¥«¥Ã¥³Æâ¤Ë¥«¥ó¥Þ¶èÀÚ¤ê¤Çµ­½Ò¤·¤Þ¤¹
-¥¿¥°¤Ç°Ï¤ï¤ì¤¿¥Æ¥­¥¹¥È¤Ï¥¿¥°¤Ê¤É¤Ë¥¹¥Ú¡¼¥¹¤ò¶´¤ó¤Ç±¦Â¦¤Ëµ­½Ò¤·¤Þ¤¹¡Ê°úÍÑÉä¤Ç°Ï¤ß¤Þ¤»¤ó¡Ë
-°À­¤ÎÃͤÀ¤±°úÍÑÉä¤Ç°Ï¤ß¤Þ¤¹ ... id̾¡¢class̾¡¢¥¿¥°¤Ç°Ï¤ï¤ì¤¿¥Æ¥­¥¹¥È¤ËÂФ·¤Æ°úÍÑÉä¤ÏÉÔÍ×
-¥³¥á¥ó¥È¤Ïº¸Â¦¤Ë¥¿¥Ö¤ò»Ä¤·¤¿¤Þ¤Þ//¤òÉÕ¤±¤Þ¤¹ ... ¥¤¥ó¥Ç¥ó¥È¤¬½ÅÍפʤΤǹÔƬ¤Ë//¤òÉÕ¤±¤ë¤ÈHTML(XML)¤Î¹½Â¤¤¬ÊѤˤʤê¤Þ¤¹¡£¤Ê¤ª¡¢¿Æ¤ò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤È¡¢»Ò¤ä¹¤Ê¤É¤â¥³¥á¥ó¥È¥¢¥¦¥È¤µ¤ì¤Þ¤¹



*¥ê¥ó¥¯
-[[Jade ¤Ë¤Ä¤¤¤Æ¡£Jade FTW>https://gist.github.com/japboy/5402844]]
-[[Jade Language Reference | jade-lang.com>http://jade-lang.com/reference/]]