Both sides previous revisionPrevious revisionNext revision | Previous revision |
wiki:syntax [2024/11/12 18:00 (5 months ago)] – Line number test for fixing syntax highlighting sausage | wiki:syntax [2024/12/04 02:24 (5 months ago)] (current) – sausage |
---|
[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too. | [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too. |
| |
====== Line Numbers ====== | ====== Tutorial or Example Panels ====== |
<code c [enable_line_numbers="true"]> | |
for (float y=0; y<25; y++){ | Currently this, but might be worth replacing with some handcoded component |
orxVECTOR position = { (x*256)-offset, (y*256)-offset, 0.0 }; | |
orxOBJECT *tile = orxObject_CreateFromConfig("RoadTile"); | <wrap headline-image>[[en:tutorials:audio:sound|{{headers:headline-sound.png|}}]] |
orxObject_SetPosition(tile, &position); | <span>Sound & Music & Go to line for longer titles</span></wrap> |
} | |
| ====== Line Numbers ====== |
| <code c [enable_line_numbers="true",highlight_lines_extra="2,3"]> |
| for (float y=0; y<25; y++){ |
| orxVECTOR position = { (x*256)-offset, (y*256)-offset, 0.0 }; |
| orxOBJECT *tile = orxObject_CreateFromConfig("RoadTile"); |
| orxObject_SetPosition(tile, &position); |
| } |
</code> | </code> |
| |