On Tuesday, April 12, 2016 at 5:48:14 AM UTC+10, Nigel Kersten wrote: > > I do Puppet syntax highlighting like this: > > Open up puppet code in Vim with syntax highlighting on. > > Use ":TOhtml" to save it as a formatted HTML file. > > Either use the HTML snippet directly on a web page, or for some GUI HTML > editors, they'll understand styled text in your clipboard buffer (that's > how I preserve editable text, but syntax highlighted for PowerPoint/Keynote > slide decks) > > This way I can toggle stuff like Vim line numbering that sometimes I want > on, and sometimes I want off, and I'm using the same syntax highlighter > that I use for normal editing of Puppet code. > > I just tried it. That is, indeed, really cool. Thank you so much!
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0057c6e4-f978-4ef3-b134-3514f6dcc74e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.