This is an an excellent tip! I did not read this in the online book.
If it is not already in the book, please include it!

On Nov 5, 3:02 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> you can use plugin_wiki instead.
> Of you can use markmin and define your own syntax. For example you can
> do
>
> extra = {'youtube': lambda code: "<object width="640"
> height="385"><param name="movie" value="http://www.youtube.com/v/%s?
> fs=1&amp;hl=en_US"></param><param name="allowFullScreen"
> value="true"></param><param name="allowscriptaccess" value="always"></
> param><embed src="http://www.youtube.com/v/%s?fs=1&hl=en_US";
> type="application/x-shockwave-flash" allowscriptaccess="always"
> allowfullscreen="true" width="640" height="385"></embed></object>" %
> (code,code)}
>
> text = """
>
> # here is a video
>
> ``l7AWnfFRc7g``:youtube
>
> """
>
> html=MARMIN(text,extra)
>
> On Nov 4, 1:31 pm, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
>
>
>
>
>
>
>
> > Very nice. How can one embed videos from youtube, vimeo, using
> > markmin?
>
> > On Nov 5, 2:25 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > it has been included for some time. You can use it via the MARKMIN
> > > helper.
>
> > > On Nov 4, 12:34 pm, villas <villa...@gmail.com> wrote:
>
> > > > That looks like a great combination with the editor!
> > > > Is Markitup going to be included as standard?
>
> > > > -D

Reply via email to