8000 fixed build error (changed highlighter: pygments to rouge) · JavaK2/JavaNotes@667e9bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 667e9bd

Browse files
committed
fixed build error (changed highlighter: pygments to rouge)
1 parent ad8dbc7 commit 667e9bd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ picture:
7575

7676
# BUILD SETTINGS
7777
markdown: kramdown
78-
highlighter: pygments
78+
highlighter: rouge
7979
sass:
8080
sass_dir: _sass
8181
style: :compressed

_posts/2016-05-19-instantiation.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: post
3+
title: Instantiation
4+
published: false
5+
---
6+
7+
class Init {
8+
Init(int x) { System.out.println("1-arg const"); }
9+
Init() { System.out.println("no-arg const"); }
10+
static { System.out.println("1st static init"); }
11+
{ System.out.println("1st instance init"); }
12+
{ System.out.println("2nd instance init"); }
13+
static { System.out.println("2nd static init"); }
14+
public static void main(String [] args) {
15+
new Init();
16+
new Init(7);
17+
} }

0 commit comments

Comments
 (0)
0