-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Block code hides parts of the code #536
Comments
Code snippet:
Just have to include a space in front here on github |
The first word after three backticks without spaces before is used as the language name to render the block. Because this we have line breaks in the example below of the message field. I will close this issue why this is the expected behavior, but if someone have any idea to improve this tell us and we will reopen the issue. |
An idea I just got for this to prevent the reported item is to detected if
|
That seems to be how github is handling this. If a single line it doesn't even try to check for a language. |
Very good solution :D |
I'd also add the case that if is not a valid language name, don't use it as language name. Sometimes what I do is to type three backticks and paste a chunk of code, so maybe the first line is touching the three backticks. Github plays nice in this situation. |
* Scripts for dedicated integrtion test execution * Streamline message-popup-test and make it repetitive * Remove language dependency in tests * make searchChannel in tests more robust to caller's environment * Fix tests which were relying on previous scripts' state * Fix typo in shell scriptname * Scripts for dedicated integrtion test execution
Post the following message:
(three backticks)from .finance import (commission, slippage)(three backticks)
Observe how the word
from
dissapears when the message is posted.The text was updated successfully, but these errors were encountered: