On Dec 16, 2012, at 3:35 AM, Sambodhi Prem <[email protected]> wrote:

> I've decided to wean myself off Dreamweaver, but was wondering how to handle 
> reoccurring items like navigation menus in BBEdit.
> Up to now I have been using Dreamweaver's library function (.lbi), but what's 
> the alternative if I were to use BBEdit exclusively?


You definitely want to learn about BBEdit persistent includes. The persistent 
include is a pair of HTML comments, and every time you Markup > Update your 
document, the text between the comments is replaced by the content of the 
included file (so, for example, you can have your navigation menu in an include 
file -- update your entire site, and presto, the navigation menu is changed in 
every page. Even better, yje persistent include doesn't have to be plain HTML 
-- it can be a script (shell script, AppleScript, Perl, Ruby, or Python) that 
will *generate* the included HTML.

Regards,

        Neil Faiman

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to