2007-09-16
SyntaxHighlighter on Wordpress
드디어 wordpress.com 에서 공식적으로 syntax highlighter 를 지원하는 모양이다.
otl_stream stmt(1,"{CALL get_multi_resultset(:p<int,in>)}",conn,otl_implicit_select);
stmt << (int)1;
otl_cur & s = (**stmt.ss).cursor_struct;
SQLRETURN result = SQLMoreResults( s.cda );
지원하는 언어 및 사용법은 how-do-i-post-source-code를 참조하기 바란다. 다만 아직 몇 가지 HTML entity 들의 변환에 문제가 있는 듯하다.