Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here's a code block below showing how to do code blocks. It works
- ```JavaScript
- function some(JavaScript, "code") {}
- ```
- Then here's the same code block without the indent. That works too
- ```JavaScript
- function some(JavaScript, "code") {}
- ```
- Then here's another code block with an indent. It is not working in fact it's showing up directly inline in this paragraph for some reason
- ```
- function some(JavaScript, "code");
- ```
- And finally another unindented code block half works (not sure why it's not highlighted the string same as 2 blocks up
- ```javascript
- function some(JavaScript, "code"){}
- ```
- I can guess the second half issue is because I used `JavaScript` above and `javascript` below. I actually came here to propose and possibly implement that being case insensitive. Funny though, in my installation of discourse I get the opposite behavior. `JavaScript` has less highlighting than `javascript`.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement