Repository navigation
gui: render the Help pages with md4c and GitHub styling - #13
Merged
Merged
Conversation
h465855hgg
marked this pull request as draft
November 17, 2026 20:59
h465855hgg
force-pushed
the
fix/help-markdown-rendering
branch
4 times, most recently
from
November 17, 2026 21:32
cb0d82b to
e9f086a
Compare
h465855hgg
force-pushed
the
fix/help-markdown-rendering
branch
2 times, most recently
from
November 17, 2026 21:36
be60250 to
050c831
Compare
The Help window showed only the README introduction: Qt's Markdown importer drops everything after a raw HTML block and README.md opens with an <img>. Parse the docs with md4c and show them GitHub-style, with a copy button on each code block. Links to docs shipped offline open in the window, other links point at "Open on GitHub", and Back/Forward walk the opened docs. gui_help_smoke covers the renderer, the copy buttons, link navigation and the history.
h465855hgg
force-pushed
the
fix/help-markdown-rendering
branch
from
November 17, 2026 21:54
050c831 to
5cca06d
Compare
h465855hgg
marked this pull request as ready for review
November 17, 2026 22:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Help window showed only the README introduction: Qt's Markdown importer drops everything after a raw HTML block, and README.md opens with an
<img>. The docs are now parsed with md4c and shown GitHub-style, with a copy button on each code block.Links to docs shipped offline open in the window, other links point at "Open on GitHub", and Back/Forward walk the opened docs.
Preview
Tests
gui_help_smokerenders README.md and docs/SCRIPTING.md offscreen and checks the text, the copy buttons, link navigation and the history.