diff --git a/config.php b/config.php index c34f393..27414c1 100644 --- a/config.php +++ b/config.php @@ -1,8 +1,4 @@ diff --git a/includes/site.css b/includes/site.css index 63615ab..2d77d59 100644 --- a/includes/site.css +++ b/includes/site.css @@ -88,3 +88,8 @@ body { text-align: center; padding-top: 30pt; } + +pre > code { + overflow-x: auto; + display: block; +} diff --git a/wiki.php b/wiki.php index f4ffa15..ad8cee2 100644 --- a/wiki.php +++ b/wiki.php @@ -29,12 +29,14 @@ $header = file_get_contents("includes/header.md"); $sidebar = file_get_contents("includes/sidebar.md"); $content = file_exists($content_file) ? file_get_contents($content_file) : str_replace('$page', "$page", file_get_contents("includes/404.md")); $footer = file_get_contents("includes/footer.md"); - + +// TODO: Stylesheet URL assumes wiki is not operate in subfolder + print " $site_name - $page - +