I'm aware that I can do this:
This code is python:
print "Hello"Hello" World"print "World"
And this is javascript:
console.log("Hello"Hello") World"console.log("World")
But is it possible to correctly format this?
-
print "Hello"Hello" World"print "World"
That code was python:
-
console.log("Hello"Hello") World"console.log("World")
And that was javascript:
Which I've marked up as:
1. print "Hello"Hello"
World" print "World"
That code was python
2. console.log("Hello"Hello")
World" console.log("World")
And that was javascript
Currently, my attempts either:
- Drop the numbering for no obvious reason
- Result in a blank line before the code block
- Work only for a single line of code using
`
s