Difference between revisions of "Wiki related"

From Freepascal Amiga wiki
Jump to: navigation, search
(add link for common stylesheet)
(windowed highlighting)
 
Line 22: Line 22:
 
  |text      = A colored box made, using a template
 
  |text      = A colored box made, using a template
 
}}
 
}}
 +
 +
--- Highlighting in a matchbox example
 +
 +
<syntaxhighlight height="30%" lang="pascal" line start="100" highlight="1,5-7" style="width:30em;height:10em;overflow:scroll">
 +
program test;
 +
begin
 +
  WriteLn(1);
 +
  WriteLn(2);
 +
  WriteLn(3);
 +
  WriteLn(4);
 +
  WriteLn(5);
 +
  WriteLn(6);
 +
  WriteLn(7);
 +
  WriteLn(8);
 +
  WriteLn(9);
 +
  WriteLn('Pneumonoultramicroscopicsilicovolcanoconiosis');
 +
  WriteLn(9);
 +
  WriteLn(8);
 +
  WriteLn(7);
 +
  WriteLn(6);
 +
  WriteLn(5);
 +
  WriteLn(4);
 +
  WriteLn(3);
 +
  WriteLn(2);
 +
  WriteLn(1);
 +
end.
 +
</syntaxhighlight>

Latest revision as of 22:06, 3 September 2017

internal links:

  • Here is the common stylesheet. Can be found on the search allpages in the WikiMedia namespace (somehow i always have trouble finding this page).

mediawiki links:

other external (3th party) links:


--- testing a notebox template example;

A colored box made, using a template

--- Highlighting in a matchbox example

100 program test;
101 begin
102   WriteLn(1);
103   WriteLn(2);
104   WriteLn(3);
105   WriteLn(4);
106   WriteLn(5);
107   WriteLn(6);
108   WriteLn(7);
109   WriteLn(8);
110   WriteLn(9);
111   WriteLn('Pneumonoultramicroscopicsilicovolcanoconiosis');
112   WriteLn(9);
113   WriteLn(8);
114   WriteLn(7);
115   WriteLn(6);
116   WriteLn(5);
117   WriteLn(4);
118   WriteLn(3);
119   WriteLn(2);
120   WriteLn(1);
121 end.