sotte / presenting.vim

A simple tool for presenting slides in vim based on text files.
MIT License
300 stars 50 forks source link

is markdown supposed to render as something? #3

Closed subelsky closed 11 years ago

subelsky commented 11 years ago

your examples make it look like the presentation mode will render markdown but my presentations just pass the characters through (see image below)

menubar_and__slide__-____dropbox_presentations__-_vim

this might be by design, e.g. you're just using markdown as a way to separate slides, but might be worth updating the documentation to make clear that markdown is not being used for the actual markup.

sotte commented 11 years ago

Thanks for the feedback! I'm not quit clear what you mean. You stay within vim, therefore the text (which can be markdown or really anything else) is still text in the presentation mode.

It seems that your vim does not set the filetype correctly and the syntax hl is not the markdown one. I updated the demo presentation to set the ft explicitly (see dd3c0dadd37602d5e0cd14aadb19ebadf0eeb4a5). Does it work with the fix?

Otherwise I can update the documentation.

subelsky commented 11 years ago

yeah that's more clear, thanks! Do you recommend a particular syntax highlighter or are you just using the built-in vim stuff?

btw I'm giving a talk using this tomorrow at http://bohconf.com/, will let you know how it goes

sotte commented 11 years ago

Wow, glad to hear that presentin.vim is actually used for conferences! Good luck!

I use the built-in vim syntax hl so far.

rst looks kinda nice, simply because the headings look cool :) See https://raw.github.com/sotte/presenting.vim/master/PresentingDemo.rst

But I'm an avid user of vim-orgmode and with some (manual) tweaking you get automatic syntax hl for your embedded programming language. This issue describes how you achieve this: https://github.com/jceb/vim-orgmode/issues/147 In the near future this should be included.