Answers for "add code block markdown"

1

markdown code snippet

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
 
```python
s = "Python syntax highlighting"
print s
```
 
```
No language indicated, so no syntax highlighting. 
But let's throw in a <b>tag</b>.
```
Posted by: Guest on November-25-2020
-1

markdown code block

```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language