From e707c36316b03caf92f93504ab2c523d89ab5da5 Mon Sep 17 00:00:00 2001 From: Yessiest Date: Sun, 11 Sep 2022 00:15:07 +0400 Subject: [PATCH] another fix --- markdown.rb | 2 ++ template.css | 1 + 2 files changed, 3 insertions(+) diff --git a/markdown.rb b/markdown.rb index bb04669..a8e2cf1 100644 --- a/markdown.rb +++ b/markdown.rb @@ -97,6 +97,8 @@ content = cgi.body { # Extra # - Horizontal rule doc = doc.gsub(/-{3,}/,"
") + # - Linebreak + doc = doc.gsub("\n\n","
\n") # Parse lists # - Unordered lists diff --git a/template.css b/template.css index 0712675..665144b 100644 --- a/template.css +++ b/template.css @@ -19,6 +19,7 @@ body { position: relative; width: 800px; margin: 2em auto 0 auto; + min-height: 100%; background-color: #c0c0c0; box-shadow: 0 0 15px #000000; }