Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdow or textile support #46

Closed
hsablonniere opened this issue Nov 6, 2011 · 3 comments
Closed

Markdow or textile support #46

hsablonniere opened this issue Nov 6, 2011 · 3 comments

Comments

@hsablonniere
Copy link
Collaborator

I found this gist and it reminded me that HTML has been slowing down my productivity when I write some DZslide presentation.

https://gist.github.com/1343518

So what about Markdown support and or Textile?

Maybe it's author responsability to do that, maybe not...

@paulrouget
Copy link
Owner

This adds a LOT of code to the code base (and it is supposed to stay simple), or adds a dependency (won't work offline).

I would love to have a markdow-like syntax support, but I don't think it's possible to do that in less than 20 lines of code.

@hsablonniere
Copy link
Collaborator Author

I think I agree with you. But I still think it could be useful. Maybe it could be done on server side.

Anyway, it doesn't have a place in the core...

@stephenhay
Copy link

I believe both pandoc and lunamark produce either dzslides-compatible markup or a complete dzslides slideshow. I know that lunamark also allows generating a dzslides doc based on one's own customized template.

Say you want to simply use the default dzslides template. You write your whole presentation in markdown (foo.markdown) and then do:

pandoc -w dzslides --standalone foo.markdown > foo.html

for pandoc. For lunamark(-standalone), you'd do:

lunamark -t dzslides --standalone -o foo.html foo.markdown

If you had your own modified dzslides template, you could use that with lunamark:

lunamark -t dzslides --template myslides -o foo.html foo.markdown

with myslides.html being your template in the working directory.

This works quite well, and with a decent template, it only takes a second to generate the slides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants