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

[23] Parsing details for markdown comments #2824

Closed
stephan-herrmann opened this issue Aug 14, 2024 · 0 comments
Closed

[23] Parsing details for markdown comments #2824

stephan-herrmann opened this issue Aug 14, 2024 · 0 comments
Assignees
Milestone

Comments

@stephan-herrmann
Copy link
Contributor

stephan-herrmann commented Aug 14, 2024

Part of #2429:

  • ensure code blocks are detected only (a) at the beginning of a comment, or (b) after a blank line
  • proper escaping of array syntax [] within links (see [#meth(String[])])
  • check handling of different styles of code fences
  • ...
@stephan-herrmann stephan-herrmann self-assigned this Aug 14, 2024
@stephan-herrmann stephan-herrmann added this to the BETA_JAVA23 milestone Aug 14, 2024
stephan-herrmann added a commit to stephan-herrmann/eclipse.jdt.core that referenced this issue Aug 17, 2024
+ codeblock cannot interrupt a paragraph
+ separate handling of code blocks indented vs fenced
  + fence does not terminate indented code block

fixes eclipse-jdt#2824
stephan-herrmann added a commit to stephan-herrmann/eclipse.jdt.core that referenced this issue Aug 18, 2024
stephan-herrmann added a commit to stephan-herrmann/eclipse.jdt.core that referenced this issue Aug 18, 2024
stephan-herrmann added a commit that referenced this issue Aug 18, 2024
+ codeblock cannot interrupt a paragraph
+ separate handling of code blocks indented vs fenced
  + fence does not terminate indented code block
  + handle various forms of fences:
     - ` vs. ~
     - different fence lengths
     - no mixed fences
     - fences inside fenced region
+ handle (and require) escaping of [ ] inside references (method arguments)

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

No branches or pull requests

1 participant