WikiSyntax: about syntax highlighting
authorWuzzy
Fri, 13 Jul 2018 04:48:06 +0100
changeset 1453 a48722ae24fa
parent 1452 4883b31e9277
child 1454 b984777b8269
WikiSyntax: about syntax highlighting
WikiSyntax.wiki
--- a/WikiSyntax.wiki	Fri Jul 13 04:42:32 2018 +0100
+++ b/WikiSyntax.wiki	Fri Jul 13 04:48:06 2018 +0100
@@ -74,7 +74,7 @@
     return fib(n-1) + fib(n-2)
 }}}
 
-For more control over the syntax higlighting, the `<code>` tag allows you to specify a file extension:
+The `<code>` tag allows you to specify a file extension (note: syntax highlighting is not implemented yet):
 
 {{{
 <code language="xml">
@@ -82,7 +82,7 @@
 </code>
 }}}
 
-To disable highlighting entirely, use the `<pre>` tag.
+The `<pre>` tag is like the code tag, but will never use syntax highlighting.
 
 == Headings ==
 
@@ -318,7 +318,7 @@
 <tr><td>b</td><td>title dir lang</td></tr>
 <tr><td>br</td><td>title dir lang</td></tr>
 <tr><td>blockquote</td><td>title dir lang</td></tr>
-<tr><td>code</td><td>title dir lang language `[1]`</td></tr>      
+<tr><td>code</td><td>title dir lang</td></tr>      
 <tr><td>dd</td><td>title dir lang</td></tr>
 <tr><td>div</td><td>title dir lang</td></tr>
 <tr><td>dl</td><td>title dir lang</td></tr>      
@@ -354,8 +354,6 @@
 <tr><td>var</td><td>title dir lang</td></tr>      </tbody>
 </table>
 
-`[1]` The language attribute of the code tag is the file extension of the language used in the code block. It is used as a hint for the syntax highlighter.
-
 == Escaping HTML Tags ==
 
 When you want to display html tags directly on your wiki page (as opposed to rendered), you will need to escape each HTML tag.