It works with .json
extension but not with a .js
extension. jsdoc does not seem to try to even read the file if a .js
extension is used. So the doc seems incorrect.
With a .json
extension, and using jsdoc 3.2.2, the following works:
{
"title": "Custom Title"
}
Your .json
file needs to be in the same directory as your .md
file and have the same name (ignoring extensions).