-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export chat: in plaintext mode, use < >
to more clearly differentiate between the username of the speaker vs the mentions
#23837
Comments
FWIW, the reason it gets coloured is that in Markdown, |
It seems that in your example you use "<>" on the sender, wouldn't be more logical to use it on the mention? |
I think that this issue may require some discussion regarding how exactly the lines should be formatted (is |
in the example, you not only use < > but there is also a color, is that color because of the link or just a color only to differentiate the user's role? |
I have sent PR, please review |
I have sent PR, please review |
I'm going to remove the "good first issue" etc labels from this as the discussion seems to have stalled on what's actually desired here, so it's not really ready to work on. |
Steps to reproduce
Outcome
What did you expect?
Output like this:
What happened instead?
Hard-to-read (or to process) output like this:
The
<speaker username>
format would make this visually and programmatically much clearer, quite similar to the kind of logs you'd get from an IRC client. Otherwise the stack offoo: bar: baz: whatever:
makes it hard to quickly spot who is saying what when reading logs.Interestingly enough, the
< >
format also gets parsed and colored when you use the markdown syntax to highlight the file:(it's maybe not perfect, because if there are multiple words / spaces in the speaker's name, then it will use two colors in gedit/gtksourceview, but that's still way better than nothing for me)
Note that the timestamps in my expected output respect the 24h time format setting, while they currently do not in practice. This is issue #23838.
Operating system
Fedora 37
Browser information
Firefox 107
URL for webapp
app.element.io
Application version
Element version: 1.11.15, Olm version: 3.2.12
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: