onury / docma

A powerful tool to easily generate beautiful HTML documentation from JavaScript (JSDoc), Markdown and HTML files.
https://onury.io/docma
MIT License
334 stars 34 forks source link

Support linking to built-in types, all lowercase #90

Open OmgImAlexis opened 5 years ago

OmgImAlexis commented 5 years ago

Currently I have to use Object over object as docma doesn't link to MDN for the lowercase version.

object Object
Screen Shot 2019-09-09 at 12 53 16 pm Screen Shot 2019-09-09 at 12 53 27 pm

See https://github.com/gajus/eslint-plugin-jsdoc/issues/25#issuecomment-284173145

onury commented 4 years ago

I'm not sure about this. Javascript has no type called object. (Don't confuse typeof x === 'object' meta comparison with Object.)

What if you use object as a type definition in your code?