-
Notifications
You must be signed in to change notification settings - Fork 1.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
vmui/logs: add markdown support #6292
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Do I understand it correctly that current implementation enables markdown rendering by default and there is no way to disable it? |
@zekker6, good idea, I'll add a switch. |
From my experience, it's better to disable this by default as most logs do not contain markdown at all. It would be great if we could enable this by default for the play environment thought (or have some kind of automatic detection logic in place). |
@Loori-R could you please resolve conflicts in this PR? |
# Conflicts: # app/vmui/packages/vmui/src/pages/ExploreLogs/ExploreLogsBody/ExploreLogsBody.tsx # app/vmui/packages/vmui/src/pages/ExploreLogs/ExploreLogsBody/GroupLogs.tsx # app/vmui/packages/vmui/src/pages/ExploreLogs/ExploreLogsBody/style.scss # docs/VictoriaLogs/CHANGELOG.md
@hagen1778 Resolved conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add support for markdown format and emoji for the `_msg` field in the "Group" view. Add markdown rendering toggle. Disabled by default. Value is stored in `localStorage`.
FYI, this pull request has been included in v0.19.0-victorialogs. |
Describe Your Changes
Add support for markdown format and emoji for the
_msg
field in the "Group" view.Add markdown rendering toggle. Disabled by default. Value is stored in
localStorage
.Checklist
The following checks are mandatory: