From: Paul Hänsch Date: Fri, 19 Mar 2021 15:17:07 +0000 (+0100) Subject: switch to markdown X-Git-Url: https://git.plutz.net/?p=webtxt;a=commitdiff_plain;h=0f63749c15e0a0ce9aa3a4c9af5699990c47b464 switch to markdown --- 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 {