jsonschema2md
jsonschema2md copied to clipboard
Feature request: Flag to optionally disable generating titles in markdown links
I use just-the-docs and jekyll to generate a static site based on the markdown generated with this tool. Unfortunately that stack does not support titles in markdown links so it would be nice with a flag to remove them.
In other words I want a flag which when enabled replaces this:
[foo](bar TITLE)
With this:
[foo](bar)
I have created a fork that we currently use to achieve this here: https://github.com/mickem/jsonschema2md/commit/e899a7c9453f5fdb45ae7d3bfb7a1450e93cae82 If there is an interest I could add a PR for this repo.
Feature requests that come with a PR are my favorite. From a quick look at your commit, it looks good – I would just flip the yargs
argument configuration: make --link-titles
a boolean, default true
, then using --no-link-titles
will behave exactly as your code does.
@mickem Thanks. In one of my projects, this could be useful to have. Looking forward to see that in next version ;)