You can now use Smali language in your code blocks for better syntax highlighting,
For example:
You can achieve the same by wrapping your Smali code in `code-blocks`:
[code=smali]
.class public LHelloWorld;
[/code]
Hopefully the extra bit of syntax highlighting will make it a slightly easier to read and navigate when
discussing topics where members may need to post snippets.
For example:
Smali:
.class public LHelloWorld;
.super Ljava/lang/Object;
.method public static main([Ljava/lang/String;)V
.registers 2
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "Hello World!"
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V
return-void
.end method
You can achieve the same by wrapping your Smali code in `code-blocks`:
[code=smali]
.class public LHelloWorld;
[/code]
Hopefully the extra bit of syntax highlighting will make it a slightly easier to read and navigate when
discussing topics where members may need to post snippets.