Skip to content

gui: render the Help pages with md4c and GitHub styling - #13

Merged
wleeaf merged 1 commit into
wleeaf:mainfrom
h465855hgg:fix/help-markdown-rendering
Nov 20, 2026
Merged

wleeaf merged 1 commit into
wleeaf:mainfrom
h465855hgg:fix/help-markdown-rendering

Conversation

@h465855hgg

@h465855hgg h465855hgg commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

dark

light

Tests

gui_help_smoke renders README.md and docs/SCRIPTING.md offscreen and checks the text, the copy buttons, link navigation and the history.

@h465855hgg
h465855hgg marked this pull request as draft November 17, 2026 20:59
@h465855hgg
h465855hgg force-pushed the fix/help-markdown-rendering branch 4 times, most recently from cb0d82b to e9f086a Compare November 17, 2026 21:32
@h465855hgg h465855hgg changed the title gui: render the whole Help page gui: render the Help pages with md4c and GitHub styling Nov 17, 2026
@h465855hgg
h465855hgg force-pushed the fix/help-markdown-rendering branch 2 times, most recently from be60250 to 050c831 Compare November 17, 2026 21:36
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
h465855hgg force-pushed the fix/help-markdown-rendering branch from 050c831 to 5cca06d Compare November 17, 2026 21:54
@h465855hgg
h465855hgg marked this pull request as ready for review November 17, 2026 22:15
@wleeaf
wleeaf merged commit 1e65d6f into wleeaf:main Nov 20, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants