hackchat-client
hackchat-client copied to clipboard
Preview Feature?
Hi,
How about adding a preview block, which shows the result of the real-time rendering from the message's source code? It would be neat since then I could directly check some possible typing mistakes, especially in typesetting of LaTeX equations.
Thanks a lot!
We could make that preview area hidable or switchable with the edit area (like Markdown editors from many websites), so that the UI could still stay clean.
I've transferred your suggestion into the new client repo.
If I'm understanding this correctly; you're looking for a feature that will allow a user to click a ui element (like a button) that when clicked, will change a message into it's source / non-rendered text?
That's not what I meant - what I wish is that we could have a preview for the render result of the message that we are currently editing. In this way, we could check if the written code produces the right result we want, before sending it. This would avoid the problem like, I only realized some mistake in my LaTeX code only after I sent the message.
This kind of feature is supported by many forums, whose Markdown editors usually have an area for editing and another one for previewing. Just like GitHub:
But, the "View Source" feature, as what you described, is also worth realizing. In addition, it can provide convenience as well if the user is allowed to re-edit some message sent by himself via modifying the message's source code.
Ah, I see what you mean now. I'll keep this issue open and we'll see if we can get it added