I used your example Massimo. The only difference is I tried
emboldening the word 'lists'. (the problem is the same without the
emboldening)

Here is the html file, if you look at it in your browser you will see
the problem on slide two

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6" lang="zh-CN"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7" lang="zh-CN"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8" lang="zh-CN"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-CN"> <!--<!
[endif]-->
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>My slides</title>
    <meta name="Description" content="" />
    <meta name="Keywords" content="" />
    <meta name="author" content="">
    <meta name="viewport" content="width=1024, user-scalable=no">
    <!-- Core and extension CSS files -->
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/core/deck.core.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/css/common.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/css/home.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/extensions/goto/deck.goto.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/extensions/navigation/deck.navigation.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/extensions/status/deck.status.css">
    <link rel="stylesheet" href="http://imakewebthings.github.com/
deck.js/extensions/hash/deck.hash.css">
    <!-- End core and extension CSS files -->
    <!-- Underlying JavaScript files -->
    <script src="http://imakewebthings.github.com/deck.js/
modernizr.custom.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/
jquery.min.js"></script>
    <!-- End underlying JavaScript files -->
    <!-- Core and extension JavaScript files -->
    <script src="http://imakewebthings.github.com/deck.js/core/
deck.core.js"></script>
    <script src="http://imakewebthings.github.com/deck.js/extensions/
goto/deck.goto.js"></script>
    <script src="http://imakewebthings.github.com/deck.js/extensions/
navigation/deck.navigation.js"></script>
    <script src="http://imakewebthings.github.com/deck.js/extensions/
status/deck.status.js"></script>
    <script src="http://imakewebthings.github.com/deck.js/extensions/
hash/deck.hash.js"></script>
    <!-- End core and extension JavaScript files -->
  </head>
  <body class="deck-container">

    <div class="slide" id="title-slide"><h1>My slides title</h1></
div><div class="slide"><h2>Slide One</h2><p>this allows you to create
slides using markmin</p></div><div class="slide"><h2>Slide Two</
h2><ul><li>you can use <b>lists</b></li><li>you can use <img
src="http://image.example.com"; alt="links <a href="http://
www.google.com">http://www.google.com</a>]]</li><li>you can use images
[[image" align="center" /></li></ul></div>

<script src="http://imakewebthings.github.com/deck.js/home.js";></
script>
  </body>
</html>



On Oct 11, 3:17 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> I do not understand the bug. Can you provide an example?
>
> On Oct 11, 5:28 am, peter <peterchutchin...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Using windows, and web2py version 1.99.2, if I setup a simple
> > applicatioin, addslides.py and the test as per your instructions:
>
> > Things only half work. The link does not work, it says
>
> > "you can use
>
> >http://www.google.com]]
> > "
>
> > "you can use images [[image" align="center" />
> > "
>
> > If one tries emboldening words, they do no appear emboldened.
>
> > This is a nice little addition to web2py, but it appears there is a
> > bug.
>
> > Thanks again for all you work Massimo.
>
> > Peter
>
> > On Sep 13, 6:31 am, Andrew <awillima...@gmail.com> wrote:
>
> > > Whilst on the subject of [[ image tags inmarkmin,  how do I reference
> > > a local image ?  Can I use the URL function ?
>
> > > On Sep 13, 4:11 pm, guruyaya <guruy...@gmail.com> wrote:
>
> > > > Well, oddly it works the other way for me. I'll look into it later
> > > > today.
>
> > > > On Sep 12, 3:20 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
> > > > wrote:
>
> > > > >markminrequires [[...]] not [...]
>
> > > > > On Sep 11, 2:29 pm, guruyaya <guruy...@gmail.com> wrote:
>
> > > > > > Ummm, why are you using [[ for links and images instead of just one
> > > > > > [ ? It doesn't work for me, when I user the [[ syntax.
>
> > > > > > On Sep 11, 1:36 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
> > > > > > wrote:
>
> > > > > > > No. It makes the view. You just return it.
>
> > > > > > > On Sep 10, 3:53 pm, António Ramos <ramstei...@gmail.com> wrote:
>
> > > > > > > > Humm, dont i need a view?
>
> > > > > > > > Em 10 de setembro de 2011 21:52, António Ramos 
> > > > > > > > <ramstei...@gmail.com>escreveu:
>
> > > > > > > > > Working now :)
>
> > > > > > > > > Em 10 de setembro de 2011 21:29, António Ramos 
> > > > > > > > > <ramstei...@gmail.com>escreveu:
>
> > > > > > > > > Traceback (most recent call last):
> > > > > > > > >> File "gluon/restricted.py", line 191, in restricted
> > > > > > > > >> File "gluon/restricted.py", line 178, in compile2
> > > > > > > > >> TypeError: compile() expected string without null bytes
>
> > > > > > > > >> :(
>
> > > > > > > > >> Just a screenshot please
>
> > > > > > > > >> 2011/9/10 Michele Comitini <michele.comit...@gmail.com>
>
> > > > > > > > >>> +1
>
> > > > > > > > >>> Terrific!
>
> > > > > > > > >>> mic
> > > > > > > > >>> Il giorno 10/set/2011 21:24, "Massimo Di Pierro" <
> > > > > > > > >>> mdipie...@cs.depaul.edu> ha scritto:
>
> > > > > > > > >>> > Based on desk.js now you can do this
>
> > > > > > > > >>> > Put the attached slide.py under models (any app).
>
> > > > > > > > >>> > Write a controller like
>
> > > > > > > > >>> > def test():
> > > > > > > > >>> > content = """
> > > > > > > > >>> > # Myslidestitle
> > > > > > > > >>> > ## Slide One
> > > > > > > > >>> > this allows you to createslidesusingmarkmin
> > > > > > > > >>> > ## Slide Two
> > > > > > > > >>> > - you can use lists
> > > > > > > > >>> > - you can use [[linkshttp://www.google.com]]
> > > > > > > > >>> > - you can use images 
> > > > > > > > >>> > [[imagehttp://image.example.comcenter]]
> > > > > > > > >>> > """
> > > > > > > > >>> > return SLIDE(content,title="Myslides")
>
> > > > > > > > >>> > Notice the resulting file is pure html5 with external 
> > > > > > > > >>> > links therefore
> > > > > > > > >>> it can be downloaded as an independent document.

Reply via email to