syntax highlight + TOC scroll + other content parsing improvements
This commit is contained in:
@@ -11,7 +11,7 @@ router.get('/', (req, res) => {
|
||||
var Promise = require('bluebird');
|
||||
var fs = Promise.promisifyAll(require("fs"));
|
||||
|
||||
fs.readFileAsync("repo/Gollum.md", "utf8").then(function(contents) {
|
||||
fs.readFileAsync("repo/Home.md", "utf8").then(function(contents) {
|
||||
let pageData = mark.parse(contents);
|
||||
if(!pageData.title) {
|
||||
pageData.title = 'Gollum';
|
||||
|
Reference in New Issue
Block a user