Question : markdown block code
Answered by : vastemonde
```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
```
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
```
Source : https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code | Last Update : Sun, 30 May 21
Question : inline code in markdown
Answered by : niteesh-shanbog
`Inline code here`
Source : | Last Update : Sun, 22 May 22
Question : markdown code block example
Answered by : mohammad-arman-ali
```
{ "firstName": "John", "lastName": "Smith", "age": 25
}
```
Source : https://www.markdownguide.org/extended-syntax/ | Last Update : Tue, 07 Dec 21
Question : markdown code block
Answered by : anxious-axolotl
```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```
Source : https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks | Last Update : Thu, 28 Jan 21
Question : markdown inline code
Answered by : wetnoodle
some text ```function/variable``` some more text
Source : https://www.freecodecamp.org/news/how-to-format-code-in-markdown/#:~:text=There%20are%20two%20ways%20to,will%20apply%20syntax%20highlighting%20to. | Last Update : Tue, 21 Feb 23