Created
December 28, 2018 14:26
-
-
Save lordofthejars/3b4961e5e83a5fa60eb3bb5c0e443183 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= My Code | |
:source-highlighter: highlightjs | |
== Callouts | |
[source, java] | |
.MyClass.java | |
---- | |
public class MyClass { // <1> | |
public static void main(String[] args) { // <2> | |
System.out.println("Hello World"); // <3> | |
} | |
} | |
---- | |
<1> Class name | |
<2> Entry point for a runnable JAR | |
<3> Prints to console | |
== Autonumber callout | |
[source, java] | |
.MyClass.java | |
---- | |
public class MyClass { // <.> | |
public static void main(String[] args) { // <.> | |
System.out.println("Hello World"); // <.> | |
} | |
} | |
---- | |
<.> Class name | |
<.> Entry point for a runnable JAR | |
<.> Prints to console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment