[TxMt] HTML Indexing for real
brett at circlesixdesign.com
Mon Jul 16 19:36:25 UTC 2007
I've fixed the closing tag and updated the help docs a little. As
far as the downcasing goes, I included the code, but left it
commented because the major drawback is that when the indexes are
created, there's no way for the command to tell for sure from the
anchor name what should be capitalized in the title. So there are
1. uncomment the line in the "Create Named Anchor" that includes
"downcase". It's indicated in a comment which line to affect.
2. Use TextMate's text transform commands when creating the
anchors. CTRL-SHIFT-U will downcase the selected text and can be run
right after the snippet is inserted.
On Jul 16, 2007, at 8:46 AM, jeff newman wrote:
> Hey all
> Brett: love the bundle! I'm actually in the middle of a project that
> this has already been very helpful with. I wonder if you'd mind
> helping me tweak one tiny thing... is there any way to have the name
> of the anchor printed entirely in lower case?
> On 7/13/07, Brett Terpstra <brett at circlesixdesign.com> wrote:
>> I think I'm done with HTML anchors after this. The named anchor
>> have evolved into a full indexing bundle due to a positive response.
>> Apparently I'm not the only one who gets relegated to creating
>> long listings
>> with anchored indexes at the top, despite my protests. So the bundle
>> includes the original commands, plus fully automated index creation,
>> including even/odd row classes, sub-indexing for multiple
>> sections, and
>> indexing with summaries. Everything is inserted as snippets for
>> The bundle includes a help file and can be found at my blog.
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
> Jeff Newman
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate