Extra Pandoc Arguments

--template eisvogel --listings

Comments

<---
I am a comment
-->

https://stackoverflow.com/a/4829998

Numbered List

  1. One
  2. Two
  3. Three
  4. Four
  5. Five

Bullet List

  • One
  • Three
  • Four
  • Five
  • One
  • Two
  • Three
  • Four
  • Five

Tables

12345
12345
12345
12345
12345

Codeblock

# Program to check if a number is prime or not
 
num = 29
 
# To take input from the user
#num = int(input("Enter a number: "))
 
# define a flag variable
flag = False
 
if num == 1:
    print(num, "is not a prime number")
elif num > 1:
    # check for factors
    for i in range(2, num):
        if (num % i) == 0:
            # if factor is found, set flag to True
            flag = True
            # break out of loop
            break
 
    # check if flag is True
    if flag:
        print(num, "is not a prime number")
    else:
        print(num, "is a prime number")

Latex