Re: Media block
There is a third-party extension to python-markdown for embedding youtube videos in a document. You might find it interesting: https://code.google.com/p/python-markdown-video/ \X/ /-\ `/ |_ /-\ |\| Waylan Limberg On Thu, Nov 14, 2013 at 1:06 PM, Johannes Wärn wrote: > I will start of with an example of what I would like to be able to write in > Markdown. > > --- > > This is a dummy paragraph, it would of course be longer than this. > > This is just another dummy paragraph; however, after it comes some pictures > of my cat. > > http://www.example.com/pictureofmycat1.jpg > > http://www.example.com/pictureofmycat2.jpg > > http://www.example.com/animatedpictureofmycat.gif > > That was nice. Here is an audio recording of my dog barking: > > http://www.example.com/dogbark.mp3 > > And finally here is a video of my two pets being cuddly: > > http://www.example.com/dogandcat.mp4 > > --- > > I think it’s clear that the output I am suggesting for this would be > something along these lines: > >This is a dummy paragraph, it would of course be longer than this. >This is just another dummy paragraph; however, after it comes some > pictures of my cat. >http://www.example.com/pictureofmycat1.jpg"/> >http://www.example.com/pictureofmycat2.jpg"/> >http://www.example.com/animatedpictureofmycat.gif"/> >That was nice. Here is an audio recording of my dog barking: >http://www.example.com/dogbark.mp3";> >And finally here is a video of my two pets being cuddly: >http://www.example.com/dogandcat.mp4";> > > I’d also say that the advantage of the syntax is clear: it’s dead simple. > Furthermore it downgrades quite nicely. > > There are of course problems it does not solve and extra complexity it would > introduce; however, I thought I’d write this short email to see if anyone > would be interested in discussing the idea. > > Thank you for reading, > Johannes Wärn > > ___ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss
Re: Media block
MultiMarkdown does something similar with images that are in a paragraph by themselves --- wrapping them in a . Fletcher -- Fletcher T. Penney fletc...@fletcherpenney.net On Nov 14, 2013, at 3:09 PM, David Chambers wrote: > Are you suggesting that a paragraph consisting solely of text that looks like > a URL should be treated specially based on its file extension? Something > along these lines could work, but would probably be quite fragile. > > On 14 November 2013 at 10:06:16 am, Johannes Wärn (warn.johan...@gmail.com) > wrote: > >> I will start of with an example of what I would like to be able to write in >> Markdown. >> >> --- >> >> This is a dummy paragraph, it would of course be longer than this. >> >> This is just another dummy paragraph; however, after it comes some pictures >> of my cat. >> >> http://www.example.com/pictureofmycat1.jpg >> >> http://www.example.com/pictureofmycat2.jpg >> >> http://www.example.com/animatedpictureofmycat.gif >> >> That was nice. Here is an audio recording of my dog barking: >> >> http://www.example.com/dogbark.mp3 >> >> And finally here is a video of my two pets being cuddly: >> >> http://www.example.com/dogandcat.mp4 >> >> --- >> >> I think it’s clear that the output I am suggesting for this would be >> something along these lines: >> >> This is a dummy paragraph, it would of course be longer than this. >> This is just another dummy paragraph; however, after it comes some >> pictures of my cat. >> http://www.example.com/pictureofmycat1.jpg"/> >> http://www.example.com/pictureofmycat2.jpg"/> >> http://www.example.com/animatedpictureofmycat.gif"/> >> That was nice. Here is an audio recording of my dog barking: >> http://www.example.com/dogbark.mp3";> >> And finally here is a video of my two pets being cuddly: >> http://www.example.com/dogandcat.mp4";> >> >> I’d also say that the advantage of the syntax is clear: it’s dead simple. >> Furthermore it downgrades quite nicely. >> >> There are of course problems it does not solve and extra complexity it would >> introduce; however, I thought I’d write this short email to see if anyone >> would be interested in discussing the idea. >> >> Thank you for reading, >> Johannes Wärn >> >> ___ >> Markdown-Discuss mailing list >> Markdown-Discuss@six.pairlist.net >> http://six.pairlist.net/mailman/listinfo/markdown-discuss > ___ > Markdown-Discuss mailing list > Markdown-Discuss@six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss smime.p7s Description: S/MIME cryptographic signature ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss
Re: Media block
Are you suggesting that a paragraph consisting solely of text that looks like a URL should be treated specially based on its file extension? Something along these lines could work, but would probably be quite fragile. On 14 November 2013 at 10:06:16 am, Johannes Wärn (warn.johan...@gmail.com) wrote: I will start of with an example of what I would like to be able to write in Markdown. --- This is a dummy paragraph, it would of course be longer than this. This is just another dummy paragraph; however, after it comes some pictures of my cat. http://www.example.com/pictureofmycat1.jpg http://www.example.com/pictureofmycat2.jpg http://www.example.com/animatedpictureofmycat.gif That was nice. Here is an audio recording of my dog barking: http://www.example.com/dogbark.mp3 And finally here is a video of my two pets being cuddly: http://www.example.com/dogandcat.mp4 --- I think it’s clear that the output I am suggesting for this would be something along these lines: This is a dummy paragraph, it would of course be longer than this. This is just another dummy paragraph; however, after it comes some pictures of my cat. http://www.example.com/pictureofmycat1.jpg"/> http://www.example.com/pictureofmycat2.jpg"/> http://www.example.com/animatedpictureofmycat.gif"/> That was nice. Here is an audio recording of my dog barking: http://www.example.com/dogbark.mp3";> And finally here is a video of my two pets being cuddly: http://www.example.com/dogandcat.mp4";> I’d also say that the advantage of the syntax is clear: it’s dead simple. Furthermore it downgrades quite nicely. There are of course problems it does not solve and extra complexity it would introduce; however, I thought I’d write this short email to see if anyone would be interested in discussing the idea. Thank you for reading, Johannes Wärn ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss
Media block
I will start of with an example of what I would like to be able to write in Markdown. --- This is a dummy paragraph, it would of course be longer than this. This is just another dummy paragraph; however, after it comes some pictures of my cat. http://www.example.com/pictureofmycat1.jpg http://www.example.com/pictureofmycat2.jpg http://www.example.com/animatedpictureofmycat.gif That was nice. Here is an audio recording of my dog barking: http://www.example.com/dogbark.mp3 And finally here is a video of my two pets being cuddly: http://www.example.com/dogandcat.mp4 --- I think it’s clear that the output I am suggesting for this would be something along these lines: This is a dummy paragraph, it would of course be longer than this. This is just another dummy paragraph; however, after it comes some pictures of my cat. http://www.example.com/pictureofmycat1.jpg"/> http://www.example.com/pictureofmycat2.jpg"/> http://www.example.com/animatedpictureofmycat.gif"/> That was nice. Here is an audio recording of my dog barking: http://www.example.com/dogbark.mp3";> And finally here is a video of my two pets being cuddly: http://www.example.com/dogandcat.mp4";> I’d also say that the advantage of the syntax is clear: it’s dead simple. Furthermore it downgrades quite nicely. There are of course problems it does not solve and extra complexity it would introduce; however, I thought I’d write this short email to see if anyone would be interested in discussing the idea. Thank you for reading, Johannes Wärn ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss