RSS구독하기:SUBSCRIBE TO RSS FEED
즐겨찾기추가:ADD FAVORITE
글쓰기:POST
관리자:ADMINISTRATOR
http://withrobot.tistory.com/180




티스토리에 적용법

버전 3에서 개행처리: 
   http://bryan7.tistory.com/10 
  http://bryan7.tistory.com/13
  https://bitbucket.org/alexg/syntaxhighlighter/issue/182/version-3-making-code-wrap


티스토리에서 사용할 때 몇 가지 팁

<pre>로 정상적인 결과가 나오지 않을 때

html 또는 java script 코드를 올릴 때는
  </head></body></html></script>를 각각 </!head></!body></!html></!script>
로 해서 tistory가 인식할 수 없게 만든다. 안 그러면 tistory가 해당 구문을 티스토리내 처리를 위한 로직으로 바꿔치기 한다.

SyntaxHighlighter가 Java와 C#의 Generic을 정상적으로 처리 못함으로 아래 script안에 코드를 넣어준다.
<script type="syntaxhighlighter" class="brush: java"><![CDATA[ put codes here ]]></script>

'Tip' 카테고리의 다른 글

교수님..슬럼프에 빠져있는데 어떡하죠?(펌)  (0) 2011.01.06

Trackback
Reply
Moss:
Root (119)
Dev (14)
Life (29)
Programming (2)
Music (2)
Android (4)
Tip (2)
Java (11)
Creative (3)
Lyrics (2)
Windows 7 (2)
Etc (7)
C# (8)
Spring (1)
jQuery (2)
Web (4)
Travel (10)
Cook (0)
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30