From 56163ffda3af38c09b7b7f157762ebde7af3af5c Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sat, 7 Feb 2026 19:14:13 -0500 Subject: [PATCH] Show live preview as a node with avatar, name, and timestamp. Reply form preview now wraps rendered markdown in node-like markup showing the author's avatar, display name, and "just now" timestamp. Authenticated users see their real avatar; anonymous users see their typed name. Edit form previews are unaffected. --- remarkbox/static/js/custom.js | 51 ++++++++++++++++++++++++++- remarkbox/templates/snippets/forms.j2 | 7 +++- 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/remarkbox/static/js/custom.js b/remarkbox/static/js/custom.js index 883bfe4..6a89ae2 100644 --- a/remarkbox/static/js/custom.js +++ b/remarkbox/static/js/custom.js @@ -8,7 +8,13 @@ function previewAjax(textarea, div, show_raw, mathjax) { // bust HTML tags like