JavaBot icon indicating copy to clipboard operation
JavaBot copied to clipboard

add newline after autoformat java codeblock

Open danthe1st opened this issue 1 year ago • 0 comments

When code is autoformatted, the (detected) codeblock section is added immediately after ```java. If that section starts with an alphanumeric character, this results in the language identifier (java) being merged with the first word, e.g. javapublic instead of public with Java formatting.

This PR adds a line break after the ```java in order to avoid this issue.

danthe1st avatar May 15 '24 11:05 danthe1st