.do.txt file
and transform such text to native DocOnce.
(hpl 1: This is a special comment on text that is rendered by extended Markdown versions.)
(comment 2: This is another version of the special comment on text; this one without any author name and colon in the beginning.)
inline verbatim computer code.
Paragraph headings.
These are written using standard Markdown
boldface syntax.
file=$1
if [ -f $file ]; then
cp $file $file.cop
fi
# This is Bash - what happens to this comment?
file=$1
if [ -f $file ]; then
cp $file $file.cop
fi
# This is Bash - what happens to this comment?
from math import sin
def f(x):
return x*sin(x)
x = 1.4
print(f(x))
<h1>Some heading</h1>
# And a comment
Markdown also features quoted paragraphs that start with a greater than sign, either just in the beginning or at every line.
> on the beginning of every line.
NOTE:
This quoted paragragraph is a simulation of a primitive admon in Markdown.List:
| Item | Value | Qty |
|---|---|---|
| Computer | 1600 USD | 5 |
| Phone | 12 USD | 12 |
| Pipe | 1 USD | 234 |