diff --git a/config.yml b/config.yml index 31ec041..9475064 100644 --- a/config.yml +++ b/config.yml @@ -25,7 +25,7 @@ enableEmoji: true pygmentsCodeFencesGuessSyntax: true PygmentsCodeFences: true -pygmentsuseclasses: false +pygmentsuseclasses: true blackfriday: hrefTargetBlank: true diff --git a/package.json b/package.json index 0af39af..915dcf0 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "bootstrap": "4.0.0-alpha.6", "font-awesome": "4.7.0", "jquery": "3.2.1", + "pygments-css": "1.0.0", "tstatic": "1.0.0" } } diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index b894db4..fdd3a1c 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -2,6 +2,7 @@ $fa-font-path: "../fonts"; @import "node_modules/font-awesome/scss/font-awesome"; @import "node_modules/bootstrap/scss/bootstrap-grid"; +@import "node_modules/pygments-css/github"; // Import Alpha theme (ish) @import "alpha";