I see niphlod, this is the code:
def index():
text = """
##H2
paragraph text
+s
+locals
+r
paragraph text
paragraph text
###H3
-----
This is a paragraph in a blockquote
+ item 1
+ item 2
-- item 2.1
-- item 2.2
+ item 3
---------
0 | 0 | X
0 | X | 0
X | 0 | 0
---------:tableclass1
-----
- [[key]] value
"""
mm = MARKMIN(text)
return locals()
And this is the output:
----------------
H2
paragraph text
1. s
2. locals
3. r
paragraph text paragraph text
H3
This is a paragraph in a blockquote + item 1 + item 2 -- item 2.1 -- item
2.2 + item 3 --------- 0 | 0 | X 0 | X | 0 X | 0 | 0 ---------:tableclass1
- value
----------------
Notice the block quote is rendered as a single line. The code for the block
quote I copied and pasted from
http://www.web2py.com/init/static/markmin.html
But it doesn't look like the html output on the example webpage :(
The version is a recent pull, details:
2.10.0-beta+timestamp.2014.10.16.15.58.50
(Running on Rocket 1.2.6, Python 2.7.8)
Thank you for your patience niphlod
On Sunday, December 28, 2014 5:33:56 PM UTC+8, Niphlod wrote:
>
> sorry but I'm having problems understanding what's the issue...without
> proper newlines that will remain a single line and not a blockquote...
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.