A lightweight FCGI blog written in python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pylog/cnt/examples.txt

86 lines
1.5 KiB

# WTF?
This document contains visual examples of pylogs capabilities. The source can
be downloaded here [examples.txt](cnt/projects/pylog/examples.txt)
* * *
# Standard markdown
Pylog uses an *extended* version of **markdown**. All markdown elements which
syntax is no subset of the extensions should work.
Lists:
* This
* Is
* A
* List
Enumerations:
1. This
2. Is
3. An
4. Enumeration
Links:
[Google](http://google.com "hover text")
[Yahoo](http://yahoo.com "tooltip")
Images:
![this is an alt text](cnt/_photo/tux.gif)
# Syntax highlighting
#!python
def foobar(x,y):
return 3+2**x+y**2
# Syntax highlighting, without line numbers
:::python
def foobar(x,y):
return 3+2**x+y**2
# Code snippets within text
The `ls -la` command lists all the files in a directory.
# Tables
1st Header | 2nd Header | 3rd Header
------------- | ------------- | ----------
Content Cell | Content Cell | Some
Content Cell | Content Cell | Stuff
# LaTeX formulas
It is well known that $$ a^2+b^2=c^2 $$
# Galleries
![this is an alt text]((
cnt/_photo/apodemus_sylvaticus_bosmuis.jpg
cnt/_photo/hypoplectrus_puella.jpg
cnt/_photo/plagiomnium_affine_laminazellen.jpg
cnt/_photo/tibia_insulaechorab_.jpg
cnt/_photo/falkland_Islands_Penguins_36.jpg
cnt/_photo/common_Jezebel_Delias_eucharis_by_kadavoor_3.jpg
))
# Abbreviations
HTML is a standard by W3C.
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
# Footnotes
Reference to a footnote. [^1]
Names work too. [^Ref]
[^1]: This is a footnote
[^Ref]: An other one