Timeline
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.
Cláudio Silva (claudioantonio)
added label
area/ui/web
5 years ago
@pawamoy could You add a screenshot about Your expectation? ;-)
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 :slightly_smiling_face:
Also thank you very much for you quick answer @claudioantonio!
Markdown rendering is done in the webUI with remark-react and 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
This bot triages untriaged issues and PRs according to the following rules:
After 90 days of inactivity, the lifecycle/stale label is applied
After 30 days of inactivity since lifecycle/stale was applied, the issue is closed
To remove the stale status, you can:
Remove the lifecycle/stale label
Comment on this issue
github-actions (github-actions)
added label
lifecycle/stale
2 years ago
@MichaelMure
Markdown rendering is done in the webUI with remark-react and 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
How would it be possible to use these plugins with a git-bug installation in my project? Is this currently possible?
This bot triages issues in order to help the maintainers identify what
needs attention, according to the following lifecycle rules:
After 90 days of inactivity, lifecycle/stale is applied
After 90 days of inactivity since lifecycle/stale was applied,
lifecycle/rotten is applied
This bot will not automatically close stale issues.
To remove the stale status, you can:
Remove the stale label from this issue
Comment on this issue
Close this issue
Offer to help out with triaging
To avoid automatic lifecycle management of this issue, add
lifecycle/frozen.
github-actions (github-actions)
added label
lifecycle/rotten
11 months ago
github-actions (github-actions)
removed label
lifecycle/stale
11 months ago
sudoforge
removed label
lifecycle/rotten
11 months ago
sudoforge
added label
priority/important-longterm
11 months ago
sudoforge
added label
triage/needs-milestone
11 months ago
sudoforge
added label
lifecycle/frozen
11 months ago
sudoforge
removed label
lifecycle/pinned
10 months ago
@sudoforge I forgot to mention this as closed in the footer for #1444, but I believe this one is closed
i believe so, too. thanks for your hard work!
sudoforge closed the bug 10 months ago