Skip to content

anoved/Tcl-Doctools-for-BBEdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tcl Doctools for BBEdit

Doctools is a simple Tcl-based markup language suitable for writing software documentation. (Here is the language introduction and here is the command reference.) The doctools package distributed with Tcllib (and present on Mac OS X 10.8) provides an implementation that can transform Doctools markup to a variety of formats, including HTML and nroff.

BBEdit is a Macintosh text editor that doesn't suck.

This repository provides a few tools to help write documentation with Doctools in BBEdit.

Screenshot of Doctools syntax highlighting with HTML preview

Contents

The Doctools.plist file is a language module that provides basic syntax highlighting of Doctools commands.

The DefaultFilter_Doctools.tcl file is a Preview Filter for BBEdit 10.5, used to generated content for BBEdit's Preview window while editing Doctools files. It reads Doctools markup from standard input and prints the corresponding HTML to standard output.

Installation

Install Doctools.plist in ~/Library/Application Support/BBEdit/Language Modules/.

Install DefaultFilter_Doctools.tcl in ~/Library/Application Support/BBEdit/Preview Filters/.

(You may need to create the Language Modules or Preview Filters folders if they are not already present.)

License

These files are in the public domain.

About

Language module and preview filter for writing Doctools markup in BBEdit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages