-
Hello! Thank you for your work on this plugin, it works great! I'm currently in the process of modifying the output as much as possible with the standard options before reaching into remark/custom plugin territory. So let's assume I have this setup:
With this setup I get an output as such: > **useUser**(): [`UseUserReturn`](../../types/interfaces/UseUserReturn.md)
Description
## Returns
[`UseUserReturn`](../../types/interfaces/UseUserReturn.md)
## Examples
EXAMPLES GO HERE I'm wondering how I can turn off/remove the first line, the call signature. Is there an option for that? If not, any suggestions what I should do? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello @LekoArts, There is no option for it - but it would be trivial to implement. You can actually achieve this by creating a custom theme and over riding the relevant partial with an empty string. A bit of an explanation here https://github.com/typedoc2md/typedoc-plugin-markdown/blob/main/devguide/typedoc-plugin-markdown/theme/documents/Custom%20Theme.md. This is not in the public docs as I don't really want this to strictly be viewed as a public api. I have created a working demo your use-case is here https://github.com/typedoc2md/typedoc-plugin-markdown-scratchpad/tree/main/issues/770 Hope this helps - anything else let me know. |
Beta Was this translation helpful? Give feedback.
-
Having thought about this further you could also parse the comments blocks to something else with just a another local typedoc plugin on the events |
Beta Was this translation helpful? Give feedback.
Hello @LekoArts,
There is no option for it - but it would be trivial to implement.
hideSignatures
andhideDeclarations
could potentially be useful options.You can actually achieve this by creating a custom theme and over riding the relevant partial with an empty string.
A bit of an explanation here https://github.com/typedoc2md/typedoc-plugin-markdown/blob/main/devguide/typedoc-plugin-markdown/theme/documents/Custom%20Theme.md. This is not in the public docs as I don't really want this to strictly be viewed as a public api.
I have created a working demo your use-case is here https://github.com/typedoc2md/typedoc-plugin-markdown-scratchpad/tree/main/issues/770
Hope this helps - anything e…