DEV Community

Discussion on: How do you include code examples in talks? (e.g slides) How can you add syntax highlighting?

Collapse
 
shaunakpp profile image
Shaunak Pagnis • Edited

I Copy/Paste as RTF from my editor. Most editors have features and/or plugins to allow content to be copied in the Rich Text Format which retains most of your formatting, including syntax highlighting.

Here are a few plugins for some popular editors:

  1. Atom
  2. Sublime Text
  3. Vim
  4. Emacs

I've used this quite effectively in my slides. You can refer this talk for example.

Collapse
 
yellzheard profile image
Omayeli Arenyeka

thank you! Will take a look!