Posted by dorayme on 01/26/07 20:54
In article <pan.2007.01.26.07.56.12.931033@sorrynospam.com>,
Andrew <andrew@sorrynospam.com> wrote:
> BTW making this page has been the only time I have missed Dreamweaver:
> doing long nested lists by hand is a little soul-destroying :-)
What sort of editor do you have? Have you got GREP pattern
facilities in it? You can make patterns and semi automate much of
this stuff. For example, I made a simple pattern replacement:
^ to be replaced by <li>
meaning the start of any line in the selected number of lines
gets an opening list item marker.
$ to </li>
closes. You can combine the two, save the pattern and use it
repeatedly for all lists. You type or cut and paste your text. It
is a natural to put each item on a separate line. You apply the
Search and Replace and tidy up afterwards for anything. The <ul>
is not worth worrying about. You type that in. Often a good text
editro will have a command key set to close (in this case, to put
in the </ul>)
--
dorayme
[Back to original message]
|