Skip to content

Add browseBody#1872

Merged
jezen merged 3 commits intoyesodweb:masterfrom
jezen:master
Jun 2, 2025
Merged

Add browseBody#1872
jezen merged 3 commits intoyesodweb:masterfrom
jezen:master

Conversation

@jezen
Copy link
Copy Markdown
Member

@jezen jezen commented Jun 2, 2025

This is similar to printBody, though it sends the output to a temporary file and then opens that file in your web browser, which can often be easier to understand than seeing the raw source in your terminal.

Before submitting your PR, check that you've:

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

@jezen
Copy link
Copy Markdown
Member Author

jezen commented Jun 2, 2025

@MaxGabriel @pbrisbin @parsonsmatt FYI, in case this is useful for any of you. We've been finding this useful, and it seems an obvious addition to the library.

This is similar to `printBody`, though it sends the output to a
temporary file and then opens that file in your web browser, which can
often be easier to understand than seeing the raw source in your
terminal.
jezen added 2 commits June 2, 2025 12:23
This is done automatically with cabal-fmt.
@jezen jezen merged commit 330b575 into yesodweb:master Jun 2, 2025
13 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.

1 participant