Loading ...
Sorry, an error occurred while loading the content.

vim syntax highlight output as html?

Expand Messages
  • Andre Bonhote
    hi there! small question: can i easily produce a html-file with color codes from a syntax-highlighted vim screen? in other words: i have a perl program ( 300
    Message 1 of 4 , May 2, 2001
    • 0 Attachment
      hi there!

      small question: can i easily produce a html-file with color codes from a
      syntax-highlighted vim screen? in other words:

      i have a perl program (> 300 lines) which i'd like to show to someone
      else. he does NOT have vim. now i'd like to export the file to a
      html-file which actually shows the syntax highlighted perl-script.

      is this possible?

      thx in advance

      andré
      --
      The brothers of the blood have brought your end!
    • Nijs, Vincent
      If you are using the GUI version try convert to HTML in the syntax menu. Vincent ... From: Andre Bonhote [mailto:andre.bonhote@linux.ch] Sent: Wednesday,
      Message 2 of 4 , May 2, 2001
      • 0 Attachment
        If you are using the GUI version try 'convert to HTML' in the 'syntax' menu.

        Vincent

        -----Original Message-----
        From: Andre Bonhote [mailto:andre.bonhote@...]
        Sent: Wednesday, May 02, 2001 1:27 PM
        To: vim@...
        Subject: vim syntax highlight output as html?

        hi there!

        small question: can i easily produce a html-file with color codes from a
        syntax-highlighted vim screen? in other words:

        i have a perl program (> 300 lines) which i'd like to show to someone
        else. he does NOT have vim. now i'd like to export the file to a
        html-file which actually shows the syntax highlighted perl-script.

        is this possible?

        thx in advance

        andré
        --
        The brothers of the blood have brought your end!
      • Benji Fisher
        If you are not using the GUI, read ... --Benji Fisher ... [snip]
        Message 3 of 4 , May 2, 2001
        • 0 Attachment
          If you are not using the GUI, read

          :help 2html

          --Benji Fisher

          "Nijs, Vincent" wrote:
          >
          > If you are using the GUI version try 'convert to HTML' in the 'syntax' menu.
          >
          > Vincent
          >
          > -----Original Message-----
          > From: Andre Bonhote [mailto:andre.bonhote@...]
          > Sent: Wednesday, May 02, 2001 1:27 PM
          > To: vim@...
          > Subject: vim syntax highlight output as html?
          >
          > hi there!
          >
          > small question: can i easily produce a html-file with color codes from a
          > syntax-highlighted vim screen? in other words:
          [snip]
        • hemant
          look in ur $vim/syntax directory for 2html.vim .. Regards Hemant ... From: Andre Bonhote To: Sent: Wednesday, May 02,
          Message 4 of 4 , May 2, 2001
          • 0 Attachment
            look in ur $vim/syntax directory for 2html.vim ..

            Regards Hemant
            ----- Original Message -----
            From: Andre Bonhote <andre.bonhote@...>
            To: <vim@...>
            Sent: Wednesday, May 02, 2001 4:57 PM
            Subject: vim syntax highlight output as html?

            >. now i'd like to export the file to a
            > html-file which actually shows the syntax highlighted perl-script.
            >
            > is this possible?
          Your message has been successfully submitted and would be delivered to recipients shortly.