docs: add StarDesk as a special sponsor by Jocs · Pull Request #5444 · marktext/marktext · GitHub
Skip to content

docs: add StarDesk as a special sponsor - #5444

Merged
Jocs merged 5 commits into
developfrom
docs/stardesk-sponsor
Sep 18, 2026
Merged

Jocs merged 5 commits into
developfrom
docs/stardesk-sponsor

Conversation

@Jocs

@Jocs Jocs commented Sep 18, 2026

Copy link
Copy Markdown
Member

Adds StarDesk as a Special Sponsor, in the README family and on the website, with the logo linking to the promo URL in both places.

Commits

  1. chore(docs): format the README family with Prettier — these files were not Prettier-clean, so lint-staged's prettier --write would have folded a whole-file reformat into the sponsor commits. Table alignment plus one stray blank line, no content changes.
  2. docs: finish removing the ukey sponsor — docs: remove sponsor ukey #5217 dropped the ukey row from the root README and deleted both of its images, but left the row in all 10 non-Bengali localized READMEs, where it still points at ../assets/sponsors/ukey.png and renders as a broken image on GitHub. Also removes a copy of the image that survived under the website's docs assets with nothing referencing it.
  3. docs: add StarDesk as a special sponsor — the Special Sponsor table in the root README and all 11 localized READMEs, description translated per language.
  4. feat(website): add StarDesk to the sponsor wall — one more .sponsor-logo tile next to SerpApi.

Notes

  • The logo is a transparent mark, so it takes the dark-mode inversion (filter: brightness(0) invert(1)) the sponsor wall already applies to SerpApi and needs no sponsor-logo-raw opt-out. Verified in both themes: blue star + black wordmark on light, a clean white silhouette on dark.
  • The artwork is 292×72, so at the wall's fixed 44px logo height it is slightly under 2× — worth swapping for a higher-resolution file if one becomes available.
  • Verified: GitHub's Markdown API renders both sponsor tables (root and RTL Arabic) with the logo wrapped in the promo link; lint, type-check and build pass for the website, and the served page carries <a class="sponsor-logo" href="https://stardesk.onelink.me/p0R7/kpq1jksx" target="_blank" rel="noopener noreferrer">.

🤖 Generated with Claude Code

Jocs and others added 4 commits September 18, 2026 12:21
These files were not Prettier-clean, so lint-staged's `prettier --write`
would have folded a whole-file reformat into the sponsor commits that
follow. Get the reformat out of the way on its own: table alignment plus
one stray blank line, no content changes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
#5217 dropped the ukey row from the root README and deleted both of its
images, but left the row in every localized README, where it still points
at `../assets/sponsors/ukey.png` and renders as a broken image on GitHub.
Remove those rows, plus a copy of the image that survived under the
website's docs assets with nothing referencing it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Add StarDesk to the Special Sponsor table in the root README and in every
localized README, with the description translated for each language. The
logo links to the promo URL, so clicking the banner opens it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The logo is a transparent mark, so it takes the dark-mode inversion the
wall already applies to SerpApi and needs no `sponsor-logo-raw` opt-out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

GitHub renders tables at `width: max-content; max-width: 100%` and splits
the space between columns in proportion to their content, while
`.markdown-body img` carries `max-width: 100%`. A long sponsor description
therefore squeezes the logo column and the logo shrinks with it: measured
against GitHub's own stylesheet, both logos were rendering 41px wide in an
872px column instead of 150px, and 27px on a narrow window.

The `width` attribute on the image cannot hold that column open, so pin
the column instead: an HTML table whose first cell is a fixed 182px (150px
of logo plus GitHub's 13px cell padding either side). Measured at 150px
across container widths from 480px to 1100px.

Both sponsors now render as body rows, so the first one's description is
no longer bold from standing in as the table header.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Jocs
Jocs force-pushed the docs/stardesk-sponsor branch from 1269c9b to 43f3963 Compare September 18, 2026 04:46
@github-actions

Copy link
Copy Markdown
Contributor

Build artifacts for PR #5444:

Run: https://github.com/marktext/marktext/actions/runs/35308241795

Artifact Size Link
marktext-linux 638.1 MB Download
marktext-macos-arm64 287.4 MB Download
marktext-macos-x64 297.7 MB Download
marktext-windows-x64 287.6 MB Download
marktext-windows-arm64 279.4 MB Download

@Jocs
Jocs merged commit b4064d1 into develop Sep 18, 2026
11 checks passed
@Jocs
Jocs deleted the docs/stardesk-sponsor branch September 18, 2026 07:04
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.

1 participant