-
Notifications
You must be signed in to change notification settings - Fork 179
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
<
and >
character are prefixed with \
in method definitions
#564
Comments
I just installed Unfortunately, I'm still experiencing this bug. :( If not fixed, and someone comes across this post in the future, I added these lines to my workflow which seem to fix the problem. (These lines search and replace all instances of sed -i 's|\\<|\<|g' docs/**/*.md
sed -i 's|\\>|\>|g' docs/**/*.md I could potentially see issues arising by using my code above, IF for example you have a URL that contains OR, if you have a comment that contains a code block with escaped square brackets, like this:
Then you'll end up with documentation looking like this:
|
thanks - i'll have a think about the best solution is for this. |
Thank you for taking a look. I also created issue mkdocs/mkdocs#3563 to see if they have anything to add to it. |
"useHTMLEncodedBrackets" option will html encode angle brackets (rather than escape backslash). Available in typedoc-plugin-markdown@4.2.0. |
I brought up an issue in #557 but it was overlooked and then the issue was closed.
When using generic types in class methods, this will add
\
characters before the<
and>
. See example:Which yields this markdown file:
Which mostly makes sense, but when combining with
mkdocs
, I get these weird artifacts:Is it possible to create an option on how
<
and>
are escaped? Or better yet, turn<
into<
and>
into>
. I tried replacing those characters with the HTML entities, and it worked perfectly.The text was updated successfully, but these errors were encountered: