틀:Source/doc: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
잔글 (tweak)
잔글 (update)
1번째 줄:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
Simple wrapper around the {{tag|syntaxhighlight}} tag to show syntax-highlighted text. Unlike {{tag|syntaxhighlight|o}}, text that does not fit on the screen will be wrapped.
 
=== Usage ===
* {{tlx|1=syntaxhighlight|2=lang=javascript|3=var foo = "bar"; //baz}} → {{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}produces:
Simple wrapper around the &lt;syntaxhighliht&gt; tag to show whitespace-wrapping, syntax-highlighted text.
 
* {{tlx|1=syntaxhighlight|2=lang=javascript|3=var foo = "bar"; //baz}} → {{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}
{{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}
 
=== See also ===

2012년 2월 18일 (토) 21:41 판

Simple wrapper around the 틀:Tag tag to show syntax-highlighted text. Unlike 틀:Tag, text that does not fit on the screen will be wrapped.

Usage

var foo = "bar"; //baz

See also