Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I asked a similar question on and was directed here.

How do I format code in Bluefish HTML editor? There's auto-indenting, that's easy enough to find. Is there a button I can click after selecting all the text? Because I sure can't seem to find it.

share|improve this question
Which version of Bluefish? – iglvzx Apr 28 '12 at 7:14
I'm using Bluefish 2.0.3 on Fedora 16. I installed through yum – Tianxiang Xiong Apr 28 '12 at 7:23

For html files I could find this functionality under Tools -> Filters -> Tidy HTML. Notice that you need HTML Tidy installed1. I personally prefer to also have the file auto-indented: Edit -> Preferences -> External filters -> Tidy XML: |tidy -i|.

Additionally, for xml files you can add a new "Tidy XML" label with corresponding command |tidy -xml -i|.

1 In Gentoo: sudo emerge -v app-text/htmltidy; in Debian, sudo apt-get install tidy; in Fedora, I would guess sudo yum install tidy?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .