Just a heads up that you can add highlighting to the code blocks if you'd like. Just change:
... to specify the language:
More details in our editor guide!
I write code inside
but not working . I think
usefull for javascript code
No the syntax highlighting works for all programming/markup languages Markdown Extended Syntax.
Using your first code snippet as an example:
Use backticks I only used quotes below to stop it from turning into a code block.
'''html
'''
<html> <head> <style> #parent-div{ margin:20px; width:400px; height:150px; border:1px solid black; } #child-div{ width:80px; height:80px; border:1px solid blue; margin:0 auto; } </style> </head> <body> <div id='parent-div'> <div id='child-div'></div> </div> </body> </html>
Thanks Andrew Baisden
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just a heads up that you can add highlighting to the code blocks if you'd like. Just change:
... to specify the language:
More details in our editor guide!
I write code inside
usefull for javascript code
No the syntax highlighting works for all programming/markup languages Markdown Extended Syntax.
Using your first code snippet as an example:
Use backticks I only used quotes below to stop it from turning into a code block.
'''html
'''
Thanks Andrew Baisden