Docz: Links in Props component description

Created on 7 Sep 2018  路  5Comments  路  Source: doczjs/docz

Is it possible to add links to the PropsTable description?

I need something like this:

MyComponent.propTypes = {
  ...
  /** Any language supported in [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/vendor/prism/includeLangs.js) */
  lang: PropTypes.string,
  ...
};
enhancement question stale v2

All 5 comments

I'd also like to see this. We explain one of the props and want to point the user to a specific MDN-article for more information.

@rakannimer It would be good to get a message on why this was closed. As in "Won't implement at this time due to x" or even something as "It would increase the complexity of the comment parser too much" or something. Cold closes are bad for the community.

Hey @cupofjoakim,

Sorry for closing the issue without explanation. I bulk-closed issues with no activity in the last 4 months to be able to focus on more recent, active and actionable issues. In hindsight, I see this was not a great idea, as some people, understandably, took it as a dismissal of their work. This was not my intent.

This issue relates to docz < v2 (PropsTable vs Props) I'm going to add it as a feature request to docz v2 and hopefully someone could work on it in the near future.

@rakannimer Thanks for replying, that's awesome!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tsnolan23 picture tsnolan23  路  3Comments

ssylvia picture ssylvia  路  3Comments

merelinguist picture merelinguist  路  3Comments

w0wka91 picture w0wka91  路  3Comments

bichotll picture bichotll  路  3Comments