Open dkundel opened 5 years ago
This is a very helpful command, but it is marred by this issue.
The Usage and Commands data that is inserted needs to be configurable to work with different semantic heading levels as appropriate for the project's README.md.
The example should be modified to not suggest # Usage
and # Commands
and the generated sub-headings should not assume that ##
is the right heading level for every README.
Hi there,
If you run
oclif-dev readme
it currently generates a bunch ofh2
tags for the commands using##
but if you put it in a context of a README.md file that's ideally semantically correct there should only be oneh1
which means that if we would nest the commands under aCommands
headline it should ideally beh3
. For example:Rendered output:
oclif-dev CLI
Usage
oclif-dev readme