So if you want to put some code from a coding language like Python or Java, you can do this:
```langname
<code>
```
For Python Code:
```python
print("Hello World!")
```
For Javascript code:
```javascript
alert("Hello World!");
```
Every single letter or character of code is in the same color. So I guess it doesn't work. Please vote if I should delete it or not. (it does work, check parentheses and semicolon)
For C# code:
```c#
string String = "Hello World!";
Console.WriteLine(String);
```
I don't know if this is supposed to happen, so I guess it's safe to say that it is sort of a success.
(also correct me if I'm wrong, but can't you just do Console.WriteLine("Hello World!");
?)
For Java code:
```java
System.out.println("Hello World!");
```
For C++ (or C) code: (someone who actually knows this please edit, as neither c
nor c++
work)
```
#include <stdio.h>
int main(){
printf("Hello World!");
return 0;
}
```
The simple Hello World program but made tricky. Why did you have to do that, C developers...
For HTML/XML:
```html
<html>
<head></head>
<body>
Hello World!
</body>
</html>
```
```xml
<list>
<item type="text">Hello World!</item>
<item type="text">this can be anything really because how xml is interpreted varies widely</item>
</list>
```
HTML and XML seem to be displayed identically--if anyone can find a counterexample do let me know.
Those are the only ones I know. Feel free to experiment tell me.