diff options
Diffstat (limited to 'exampleSite/content/post/jane-theme-preview.md')
-rw-r--r-- | exampleSite/content/post/jane-theme-preview.md | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/exampleSite/content/post/jane-theme-preview.md b/exampleSite/content/post/jane-theme-preview.md index 5e9be72..91e0872 100644 --- a/exampleSite/content/post/jane-theme-preview.md +++ b/exampleSite/content/post/jane-theme-preview.md @@ -97,13 +97,24 @@ You can change the complete/incomplete state by click the checkbox before the it ## Syntax Highlighting +unset language: + ```js function helloWorld () { alert("Hello, World!") } ``` -```java +```text +plain text + +first line +second line +``` + +**choose different style:** + +```java {style=github} public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); @@ -111,6 +122,14 @@ public class HelloWorld { } ``` +{{< highlight java "style=vim">}} +public class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +{{< / highlight >}} + ## Math Blocks You can render *LaTeX* mathematical expressions using **MathJax**. |