# \[DW\] Making code neater

**URL:** https://forum.kirupa.com/t/dw-making-code-neater/57216
**Category:** web dev
**Created:** [July 11, 2004, 1:47pm UTC](https://forum.kirupa.com/t/dw-making-code-neater/57216 "2004-07-11T13:47:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Total\_Biscuit](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/total_biscuit/32/622_2.png) [@Total\_Biscuit](https://forum.kirupa.com/u/Total_Biscuit)
#### Post date: [July 11, 2004, 1:47pm UTC](https://forum.kirupa.com/t/dw-making-code-neater/57216/1 "2004-07-11T13:47:18Z")

</div>

sorry if the title sounded a little faggoty 😉  
I was wondering if DW MX has a command for neatening up code. as it is now, it’s all one giant block of code (nearly anyway) . Now I don’t have a problem with this but as my client (who wants to update the site himself and doesn’t have DW) knows a little HTML but is an elderly man, I want to make the code a little easier on the eyes for him.

EDIT: found the source formatting command

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2004, 11:13pm UTC](https://forum.kirupa.com/t/dw-making-code-neater/57216/2 "2004-07-11T23:13:48Z")

</div>

Indeed it does! It also converts your trampish code to XHTML, separates old-style font tags and stuff into CSS and I THINK it indents stuff as well.

If you can’t be bothered getting it though, a text editing program like Textpad ([www.helix.com](http://www.helix.com)) will automatically indent code and stuff which is pretty cool.

Hope this helps, clean up your act, your code and put on some coding cologne

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 11, 2004, 11:19pm UTC](https://forum.kirupa.com/t/dw-making-code-neater/57216/3 "2004-07-11T23:19:02Z")

</div>

commands\>format HTML
