
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Markdown reader with color
Install the mdr
command globally
npm install -g mdr
mdr [file] [[-g github_repo | -b bitbucket_repo] [-B] | -h | -v] [-i] [-s]
The first parameter should be a file name or url. If not provided, this will default to README.md
. github_repo
and bitbucket_repo
should be in the format user/rpo
e.g. mrchimp/mdr
.
Here are some things you can do:
mdr # Show README.md from current directory
mdr foo.md -i # Use dark-on-light style
mdr http://example.com/foo.md # Show foo.md from a the web
mdr -g mrchimp/mdr # Show README.md from Github repo
mdr foo.md -g bar/bar # Show foo.md from Bitbucket repo
mdr -h
for more help.
Config files are found and parsed by rc. For example put the following content in $HOME/.mdrrc
or $HOME/.mdr/config
.
{
"invert": "true"
}
See rc
docs for more in-depth instructions.
Italic and strikethrough aren't widely supported so I've made them coloured as well. They will show as italic and struck through where possible.
✔ = Implemented
✘ = Not implemented
[$ALT_TEXT - $TITLE - $URL]
)less -r
or something? Why doesn't this work? Colours get lost.FAQs
Read markdown files in the terminal in color
The npm package mdr receives a total of 12 weekly downloads. As such, mdr popularity was classified as not popular.
We found that mdr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.