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

Revi HQ
내용 추가됨 내용 삭제됨
잔글 (update)
6번째 줄: 6번째 줄:
=== Usage ===
=== Usage ===
* {{tlx|1=syntaxhighlight|2=lang=javascript|3=var foo = "bar"; //baz}} produces:
* {{tlx|1=syntaxhighlight|2=lang=javascript|3=var foo = "bar"; //baz}} produces:

{{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}
{{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}

The template can be indented:

=== Usage ===
* <tt>::::</tt>{{tlx|1=syntaxhighlight|2=lang=javascript|3=var foo = "bar"; //baz}} produces:
::::{{syntaxhighlight|lang=javascript|1=var foo = "bar"; //baz}}


=== See also ===
=== See also ===

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

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

The template can be indented:

Usage

var foo = "bar"; //baz

See also