It would be nice if variables could be used in the README.md #15961
Locked
justinmchase
started this conversation in
Ideas
Replies: 1 comment
-
|
This is a suggestion for dotland: denoland/dotland#2494 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In most / all readme's there is usually a little usage example to get someone started. It will usually start with a line that shows how to import the current module. That import statement usually should have a version number in it. Trying to keep that version number up to date with the actual latest version tag isn't super hard but it does require a little automation, or dilligence, or both.
What would be nice is if deno.land/x recognized, at least, the $GIT_TAG variable and just did a straight replacement, so if I had some snippet in my readme such as: like:
Then it would render like this, when viewed relative to the tag named
0.1.0in the deno land third party module UI.Beta Was this translation helpful? Give feedback.
All reactions