You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently code blocks are not highlighted in the webui. It would be nice to highlight them! As for emojis, maybe a javascript lib could do the trick, though it would not play well with the offline side of things.
I'm not asking to replicate the GitHub style of course, but simply for highlighting of code blocks, respecting the language given after the triple backticks (Python in this example).
Hope this clarifies the feature request 🙂
Also thank you very much for you quick answer @claudioantonio!
Activity
claudioantonio commentedon Feb 28, 2021
@pawamoy could You add a screenshot about Your expectation? ;-)
pawamoy commentedon Feb 28, 2021
Sure!
Comment in git bug webui:
(dark theme thanks to dark reader extension)
Same comment on GitHub:
I'm not asking to replicate the GitHub style of course, but simply for highlighting of code blocks, respecting the language given after the triple backticks (Python in this example).
Hope this clarifies the feature request 🙂
Also thank you very much for you quick answer @claudioantonio!
MichaelMure commentedon Feb 28, 2021
Markdown rendering is done in the webUI with
remark-reactand remark (https://github.com/MichaelMure/git-bug/blob/master/webui/src/components/Content/index.tsx#L10-L20).Remark has a long list of plugins that include syntax highlighting: https://github.com/remarkjs/remark/blob/main/doc/plugins.md
github-actions commentedon Jul 23, 2024
This bot triages untriaged issues and PRs according to the following rules:
lifecycle/stalelabel is appliedlifecycle/stalewas applied, the issue is closedTo remove the stale status, you can:
lifecycle/stalelabelgutierri commentedon Oct 17, 2024
@MichaelMure
How would it be possible to use these plugins with a git-bug installation in my project? Is this currently possible?
github-actions commentedon Apr 16, 2025
This bot triages issues in order to help the maintainers identify what
needs attention, according to the following lifecycle rules:
lifecycle/staleis appliedlifecycle/stalewas applied,lifecycle/rottenis appliedThis bot will not automatically close stale issues.
To remove the stale status, you can:
To avoid automatic lifecycle management of this issue, add
lifecycle/frozen.lygaret commentedon May 17, 2025
@sudoforge I forgot to mention this as closed in the footer for #1444, but I believe this one is closed
sudoforge commentedon May 17, 2025
i believe so, too. thanks for your hard work!