From 0f63749c15e0a0ce9aa3a4c9af5699990c47b464 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 19 Mar 2021 16:17:07 +0100 Subject: [PATCH] switch to markdown --- index.cgi | 2 +- webnote.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.cgi b/index.cgi index 8a892d0..3db279a 100755 --- a/index.cgi +++ b/index.cgi @@ -108,5 +108,5 @@ yield_page <<-EOF [input type=hidden name=session_key value="$SESSION_KEY"] [button type=submit name=action value=edit Edit] ] - [div .text . $(HTML <"$doc")] + [div .text . $(markdown <"$doc")] EOF diff --git a/webnote.css b/webnote.css index 7d17f83..c1953c8 100644 --- a/webnote.css +++ b/webnote.css @@ -13,7 +13,7 @@ textarea { div.text { max-width: 100%; - white-space: pre-wrap; + overflow: auto; } form.new { -- 2.39.2