pip install markout
./something | markout
or
python main.py | markout
or something else with STDOUT
# test.py
print("## Case 1")
print ("*Result*",1)
print("______")
print("**by Sam**")
running
python test.py | markout
results in a Webpage showing
Result 1
by Sam