Skip to content
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

ScalaDoc: subscript doesn't work in code (and <sub> doesn't too) #4488

Closed
scabug opened this issue Apr 16, 2011 · 7 comments
Closed

ScalaDoc: subscript doesn't work in code (and <sub> doesn't too) #4488

scabug opened this issue Apr 16, 2011 · 7 comments

Comments

@scabug
Copy link

scabug commented Apr 16, 2011

=== What steps will reproduce the problem? ===
Look at List#:\ and List.map3

op(...op(op(z, x,,1,,), x,,2,,), ..., x,,n,,)
    [f(a<sub>0</sub>,b<sub>0</sub>,c<sub>0</sub>), ..., f(a<sub>n</sub>,b<sub>n</sub>,c<sub>n</sub>)] if the lists are [a<sub>0</sub>, ..., a<sub>k</sub>], [b<sub>0</sub>, ..., b<sub>l</sub>], [c<sub>0</sub>, ..., c<sub>m</sub>] and n = min(k,l,m) 

=== What is the expected behavior? ===
Maybe it should work ... maybe it should require some sort of escape character before?

=== What do you see instead? ===
Formatting is broken for subscript.

@scabug
Copy link
Author

scabug commented Apr 16, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4488?orig=1
Reporter: @soc

@scabug
Copy link
Author

scabug commented Apr 16, 2011

@kzys said:
... is syntax for a monospace element. And Scaladoc don't allow any formatting inside a monospace element.

But is this a bug or a feature?

@scabug
Copy link
Author

scabug commented Apr 16, 2011

@kzys said:
... -> ...

@scabug
Copy link
Author

scabug commented May 4, 2011

@kzys said:
I have a patch to fix this problem but I don't know the spec well. Can we use subscript inside monospace?

@scabug
Copy link
Author

scabug commented Jun 9, 2011

@kzys said (edited on Jun 9, 2011 10:20:00 AM UTC):
Hi Donna,

I think we should clarify the spec of Scaladoc.

@scabug
Copy link
Author

scabug commented Jul 7, 2011

@lindydonna said:
I'm re-assigning to Vlad who is taking over scaladoc.

@scabug
Copy link
Author

scabug commented Mar 24, 2012

@manojo said:
The comments referred to are in fact inside code blocks. Naturally, one cannot use wiki syntax inside of code blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants