Cooper'S'
Never bettered!!
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
now servered from static3
Available commands: (fab -list)- audit: Requires list of files to be included.
- build: Static website builder inc. dynamics - new and changes only - local only
- injectDynamic: injects any make dynamic files into pre-final HTML
- maker: Static website builder inc. dynamics - new and changes only - sync to server.
- reBuild: Static website builder/force rebuild of all pages - local only
- rsync: Sync to server remove any remote orphan files
(i.e. fab reBuild rsync will rebuild whole site from scratch and sync to server)
random robot....
<markdown> - start processing markdown from here (below are the results)
Markdown
Markdown will be processed automatically, everything found between the markdown tags is processed as 'markdown' - currently only one markdown block per content file is permitted (first block processed) but you can mix std html within the block and you can have a block in the other page elements ie head, body, foot as well as any number dynamic files containing markdown (and of course the content file).
<markdown> - - opening tag
markdown formatted plain text.
</markdown> - - closing tag
some paragraph with bold text and an italic word or two followed by a bit of Lorem ipsum; Integer lacinia sollicitudin massa. Quisque cursus, metus vitae pharetra auctor, sem massa mattis sem, at interdum magna augue eget diam.
normal html paragraph - (this line is not markdown) to show you can mix html in the markdown anywhere
<p>normal html paragraph - (<strong>this line is not markdown</strong>) to show you can mix html in the markdown anywhere</p>
an ordered list
- list one
- list two
- list three
an un-ordered list
- bullet 1
- bullet 2
BOLD
Italic
blockquote
A markdown image - traveller
Some fenced code... (actually the code that does the markdown conversion)
def convertMarkdown(html):
startmd=False
htmlmd2=""
for h in html.split('\n'):
if h=="<markdown>":
startmd=True
if h=="</markdown>":
startmd=False
if startmd:
htmlmd2=htmlmd2+h+'\n'
md=markdown.markdown(htmlmd2,extensions=['markdown.extensions.fenced_code'])
html=html.replace(htmlmd2,md)
return html
</markdown> - end processing markdown here (above are the results)
Integer lacinia sollicitudin massa. Quisque cursus, metus vitae pharetra auctor, sem massa mattis sem, at interdum magna augue eget diam. Cras metus. Sed aliquet risus a tortor. Integer id quam. Morbi mi. Morbi in dui quis est pulvinar ullamcorper. Quisque nisl felis, venenatis tristique, dignissim in, ultrices sit amet, augue. Integer euismod lacus luctus magna. Proin sodales libero eget ante. Nulla quam. Aenean laoreet. Nulla facilisi. Vestibulum nisi lectus, commodo ac, facilisis ac, ultricies eu, pede. Ut orci risus, accumsan porttitor, cursus quis, aliquet eget, justo. Sed pretium blandit orci. Quisque nisl felis, venenatis tristique, dignissim in, ultrices sit amet, augue. Ut eu diam at pede suscipit sodales.
This is a maker dynamic (markdown.dynamic) that contains markdown. - (as code below)
> *This is a maker dynamic (**markdown.dynamic**) that contains markdown. - (as code below)*
back to good old html markup here