Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
WyPyPlus can generate headline anchor links. If you want to turn on this feature, replace the headline function:
hl=lambda m,n:'<h%d>%s</h%d>'%(n,m.group(1),n)
with
hl=lambda m,n:'<h%d id=%s>%s<a href=#%s> ΒΆ</a></h%d>'%(n,hs(m),m.group(1),hs(m),n);
This is a Bold text!
YouTube Video:
List everything in this wiki:@All
Wiki link: DemoPage
Raw URL link: http://www.google.com
Markdown link: google homepage
Reference to a date or a month: Jan1 Jan2021
A template is a page with a special name: Tpl[three characters]. A page starts with the same three characters will use the template.
For example, when you create TplJan, Any page starts with "Jan" such as Jan21 will include the template.
External image:
Local image:
# Python Code
def hello():
print("hello world")
WyPyPlus supports media wiki style table.
Orange | Apple |
Bread | Pie |
Butter | Ice cream |
Orange | Apple | more |
Bread | Pie | more |
Butter | Ice cream | and more |
The built-in RPN calculator supports +, -, *, /, ^ and common functions such as log, sqrt, abs, sin, cos, and tan.
Example | Results |
3 2 ^ 4 2 ^ + sqrt | 5.0 |
1000 10 log | 0.333333333333 |
e 1000 log | 6.90775738428 |
3.1415926 2 / sin | 1.0 |
-10 fabs | 10.0 |
Print the entire stack on error | [2.0, 3.0, 'err'] |
You can create a simple spreadsheet by embedding RPN expressions in a table. A RPN expression in the table must start with '='. You can reference other cells on the same row by $X notation where X is the column index starting from 0.
A | B | `A^2 + B^2` | `sqrt(A^2 + B^2)` |
.5 | 4 | 16.25 | 4.03112887415 |
6 | 8 | 100.0 | 10.0 |
9 | 12 | 225.0 | 15.0 |
You can easily add more functions to the built-in RPN by modify this line:
unary=['sqrt','abs','sin','cos','tan'];norm={'+':op.add,'-':op.sub,'*':op.mul,'/':op.div,'^':pow};rev={'log':math.log}
` sum_(i=1)^n i^3=((n(n+1))/2)^2 `
Insert the following line to the <head> section at the end of wypyplus.py to support synatx highligh for over 150 languages.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/styles/default.min.css">\
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/highlight.min.js"></script><script>hljs.highlightAll();</script>