- Published on
Sample .md file
- Authors
- Name
- sinhnt
- @sinhnt
A sample post with markdown.
Local: http://localhost:3000/
Table
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
text
italic text
another italic text
quote
quotation OpenAI
- list item 1
- list item 2
- list item 1
- list item 3
- list item level 3
Inline Highlighting (header level 1 #)
Inline Highlighting (header level 2 ##)
Inline Highlighting (header level 3 ###)
Inline Highlighting (header level 4 ####)
Inline Highlighting (header level 5 #####)
Inline Highlighting (header level 6 ######)
Sample of inline highlighting sum = parseInt(num1) + parseInt(num2)
command sample
Code Blocks
Some Javascript code
test js code
var num1, num2, sum;
num1 = prompt('Enter first number');
num2 = prompt('Enter second number');
sum = parseInt(num1) + parseInt(num2); // "+" means "add"
alert('Sum = ' + sum); // "+" means combine into a string
Some Python code 🐍
def fib():
a, b = 0, 1
while True: # First iteration:
yield a # yield 0 to start with and then
a, b = b, a + b # a will now be 1, and b will also be 1, (0 + 1)
for index, fibonacci_number in zip(range(10), fib()):
print('{i:3}: {f:3}'.format(i=index, f=fibonacci_number))