On 7. Nov 2006, at 17:51, Hans-Joerg Bibiko wrote:
Maybe it would be worth to change html_header in such a way that you can specify window_title and page_title separately. web_preview.rb has this functionality yet.
I updated html_header to take 3 arguments, if given, these are then window title, page title, and sub heading.
Btw: use em-dash (—) in the window title.
-I set the limit of output line to 3000 --The reason why is that if I close the HTML output page (with more than 5000 lines) TM freezes for seconds! It takes roughly a minute! ANY HINTS???
Perhaps it is in releasing the various objects allocated to hold the page.
Could you tell me what line should be changed to remove the limit, I can do a simple profile, and perhaps send the WebKit team some useful benchmark case.
[...] As usual feedback is welcomed.
For generating the help, you can use:
"$TM_SUPPORT_PATH/lib/markdown_to_help.rb" <"$TM_BUNDLE_SUPPORT/ help.markdown"
It enumerates your sections and auto-generate the table of contents. You probably want to decrease the heading level for your sections, if you use this (so you don’t start with 1.1).