
This is a subtitle which should be smaller and bold
Introduction
This is the introduction
Here is an image:
Note that you cannot use images hosted externally.
Paragraph one
This is the main body so no special formatting is required. Below we need a code block that should stand out from the main body using special formatting:
from reliability.Distributions import Weibull_Distribution
dist = Weibull_Distribution(alpha=5,beta=2)
y = dist.PDF(5)
print(y)
and an inline bit of code print(y)
which is nice.
This is a second code block to show more of the style:
@requires_authorization(roles=["ADMIN"])
def somefunc(param1='', param2=0):
r'''A docstring'''
if param1 > param2: # interesting
print 'Gre\'ater'
return (param2 - param1 + 1 + 0b10l) or None
class SomeClass:
pass
>>> message = '''interpreter
... prompt'''
Paragraph two
Now we are back to another paragraph in the main body.
This is an equation:
$$ \displaystyle n=\frac{\ln (1-C)}{m\ln (R)}$$
Note that you cannot display equations within a line of text as any Latex will automatically be given its own line and centered.
Conclusion
This is a link to documentation.
The end.
Leave a Reply