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. On Sat, Apr 9, 2016 at 1:35 AM, Alex Harvey <alexharv...@gmail.com> wrote: > I still haven't found any Puppet syntax highlighting plugins for Puppet (3 > or 4). I'll be most grateful to anyone willing to share their secrets with > me. :) > > -- > 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/247df98c-0a7c-4883-ae27-7580d5c2a808%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/247df98c-0a7c-4883-ae27-7580d5c2a808%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGUqgV8abAnVfSzk5mH_nzMETxjo2APa-%2B7-V_HUTUL9o499bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.