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

Re: Source Formatting - Plugin?

Expand Messages
  • pion88
    ... XML, ... I use Tidy for that. It is a win32 console application available at: http://www.w3.org/People/Raggett/tidy/ http://tidy.sourceforge.net/ After
    Message 1 of 2 , Mar 1, 2002
      --- In editplus@y..., "claysjunkmail" <claysjunkmail@y...> wrote:
      > Macromedia's Dreamweaver/Ultradev product has a very nice
      > feature/function which is to "apply source formatting" to HTML,
      XML,
      > XHTML docs.
      >
      > Is there any way Editplus can have this functionality.
      > Or an an existing plugin that does this already?

      I use Tidy for that. It is a win32 console application available at:
      http://www.w3.org/People/Raggett/tidy/
      http://tidy.sourceforge.net/

      After editing the config file, you can add the program and the
      pointer to the config file to your 'tools' section:

      -config C:\EditPlus Directory\tidyconfig.txt $(FileName)

      My Tidy config file:

      //
      break-before-br: no
      char-encoding: ascii
      clean: no
      doctype: loose
      drop-font-tags: no
      enclose-text: yes
      fix-backslash: yes
      hide-endtags: no
      indent: no
      indent-attributes: no
      indent-spaces: 2
      keep-time: no
      logical-emphasis: no
      markup: yes
      numeric entities: no
      quiet: yes
      quote-ampersand: yes
      quote-marks: no
      quote-nbsp: yes
      show-warnings: no
      tab-size: 4
      tidy-mark: no
      uppercase-tags: no
      uppercase-attributes: no
      word-2000: no
      wrap: 0
      wrap-asp: no
      wrap-script-literals: no
      write-back: yes
      output-xhtml: yes
      add-xml-decl: no

      --jan
    Your message has been successfully submitted and would be delivered to recipients shortly.