Fix Homebrew install colliding with core Go md2pdf - #8
Merged
Conversation
brew install md2pdf resolves to Homebrew core's unrelated Go package (solworktech/md2pdf), which rejects --output and positional inputs. Document the fully-qualified 0xtlt/tap/md2pdf install, add formula caveats, and harden the tap push authentication path. Co-authored-by: Thomas <0xtlt@users.noreply.github.com>
Drop build-from-source, architecture, performance, and development sections so the front page stays focused on getting md2pdf running. Co-authored-by: Thomas <0xtlt@users.noreply.github.com>
0xtlt
marked this pull request as ready for review
July 29, 2026 16:16
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
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.
Summary
brew install md2pdfcurrently installs Homebrew core’s Go CLI (solworktech/md2pdf), not this Rust tool. That binary requires-i/-oand printsUsage: md2pdf.go …, which is why:Two compounding issues:
homebrew/core/md2pdf— plainbrew install md2pdfalways prefers core.Formula/md2pdf.rbbut failed to push (could not read Username for 'https://github.com'), so0xtlt/tapstill has nomd2pdfformula.Changes
brew install 0xtlt/tap/md2pdf; drops build/dev/perf sections.After merge (needed to unblock Homebrew installs)
Re-run the tap publisher so
Formula/md2pdf.rblands in0xtlt/homebrew-tap:Then users can:
brew uninstall md2pdf # removes core Go package if present brew install 0xtlt/tap/md2pdf md2pdf README.md --output readme.pdfImmediate workaround (no brew)
Download the platform archive from v3.2.1 — verified here that
md2pdf README.md --output readme.pdfworks on the Rust 3.2.1 Linux binary.