apidoc::tclcode_to_html (public)

 apidoc::tclcode_to_html [ -scope scope ] \
    [ -proc_namespace proc_namespace ] script

Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl

Given a script, this proc formats it as HTML, including highlighting syntax in various colors and creating hyperlinks to other proc definitions. The inspiration for this proc was the tcl2html script created by Jeff Hobbs.

Switches:
-scope (optional)
-proc_namespace (optional)
Parameters:
script (required)
script to be formatted in HTML

Testcases:
acs_api_browser_apidoc_tclcode_to_html
[ show source ]
Show another procedure: