Skip to content

Conversation

@codehakase
Copy link
Owner

Changes

Adds support for reading markdown from stdin, allowing piped input:

cat README.md | md
echo "# Hello World" | md
curl -s https://example.com/doc.md | md

Implementation

  • Read from stdin when no file argument is provided
  • Support explicit - argument to read from stdin
  • Updated README with usage examples
  • Changed argument requirement from ExactArgs(1) to MaximumNArgs(1)

- Allow reading markdown from stdin when no file argument provided
- Support explicit '-' argument to read from stdin
- Update README with stdin usage examples
- Update command usage to reflect optional file argument
@codehakase codehakase force-pushed the feat/stdin-support branch 2 times, most recently from 4201e0d to ad4f464 Compare February 7, 2026 23:42
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