-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline code formatting issues with newlines, template literals #742
Comments
thank you @lukekarrys this is super useful. I am working through the use cases. |
@lukekarrys fixes in [email protected]. Here is a diff on the example repository lukekarrys/typedoc-markdown-hacks@main...tgreyuk:typedoc-fixes I think things are looking pretty good. Let me know if you find more use-cases. Thanks again |
Thanks @tgreyuk! I updated to the latest version and everything looks great without any manual theming now, so I'm going to close this. |
What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
I found a few cases where inline code doesn't get rendered properly. I think they are related but might be separate issues. The two cases are:
I created an example repository with the TypeScript code that causes these cases as well as a custom theme I hacked together that overrides some partials to produce output that renders correctly (at least on GitHub): https://github.com/lukekarrys/typedoc-markdown-hacks
The readme shows a diff of the original vs modified markdown output as well as a script that can be run to generate it.
Here are the specific cases as well:
template literals
constructor overrides
index signatures
TypeDoc configuration
Expected behavior
Here is the markdown output I expect in the cases above:
template literals
constructor overrides
index signatures
The text was updated successfully, but these errors were encountered: